rusteron_media_driver::bindings

Type Alias aeron_subscribable_t

Source
pub type aeron_subscribable_t = aeron_subscribable_stct;

Aliased Type§

struct aeron_subscribable_t {
    pub correlation_id: i64,
    pub length: usize,
    pub capacity: usize,
    pub array: *mut aeron_tetherable_position_stct,
    pub resting_count: usize,
    pub add_position_hook_func: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i64)>,
    pub remove_position_hook_func: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i64)>,
    pub clientd: *mut c_void,
}

Fields§

§correlation_id: i64§length: usize§capacity: usize§array: *mut aeron_tetherable_position_stct§resting_count: usize§add_position_hook_func: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i64)>§remove_position_hook_func: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i64)>§clientd: *mut c_void

Trait Implementations§

Source§

impl From<AeronSubscribable> for aeron_subscribable_t

Source§

fn from(value: AeronSubscribable) -> Self

Converts to this type from the input type.
Source§

impl Clone for aeron_subscribable_stct

Source§

fn clone(&self) -> aeron_subscribable_stct

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for aeron_subscribable_stct

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for aeron_subscribable_stct

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Hash for aeron_subscribable_stct

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for aeron_subscribable_stct

Source§

fn eq(&self, other: &aeron_subscribable_stct) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for aeron_subscribable_stct

Source§

impl Eq for aeron_subscribable_stct

Source§

impl StructuralPartialEq for aeron_subscribable_stct