pub struct AeronDistinctObservation { /* private fields */ }
Implementations§
source§impl AeronDistinctObservation
impl AeronDistinctObservation
pub fn new( description: &str, error_code: c_int, offset: usize, description_length: usize, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn description(&self) -> &str
pub fn error_code(&self) -> c_int
pub fn offset(&self) -> usize
pub fn description_length(&self) -> usize
pub fn get_inner(&self) -> *mut aeron_distinct_observation_t
Trait Implementations§
source§impl Clone for AeronDistinctObservation
impl Clone for AeronDistinctObservation
source§fn clone(&self) -> AeronDistinctObservation
fn clone(&self) -> AeronDistinctObservation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AeronDistinctObservation
impl Debug for AeronDistinctObservation
source§impl Default for AeronDistinctObservation
impl Default for AeronDistinctObservation
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronDistinctObservation
impl Deref for AeronDistinctObservation
source§impl From<&AeronDistinctObservation> for *mut aeron_distinct_observation_t
impl From<&AeronDistinctObservation> for *mut aeron_distinct_observation_t
source§fn from(value: &AeronDistinctObservation) -> Self
fn from(value: &AeronDistinctObservation) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_distinct_observation_stct> for AeronDistinctObservation
impl From<*const aeron_distinct_observation_stct> for AeronDistinctObservation
source§fn from(value: *const aeron_distinct_observation_t) -> Self
fn from(value: *const aeron_distinct_observation_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_distinct_observation_stct> for AeronDistinctObservation
impl From<*mut aeron_distinct_observation_stct> for AeronDistinctObservation
source§fn from(value: *mut aeron_distinct_observation_t) -> Self
fn from(value: *mut aeron_distinct_observation_t) -> Self
Converts to this type from the input type.
source§impl From<AeronDistinctObservation> for *mut aeron_distinct_observation_t
impl From<AeronDistinctObservation> for *mut aeron_distinct_observation_t
source§fn from(value: AeronDistinctObservation) -> Self
fn from(value: AeronDistinctObservation) -> Self
Converts to this type from the input type.
source§impl From<AeronDistinctObservation> for aeron_distinct_observation_t
impl From<AeronDistinctObservation> for aeron_distinct_observation_t
source§fn from(value: AeronDistinctObservation) -> Self
fn from(value: AeronDistinctObservation) -> Self
Converts to this type from the input type.
source§impl From<aeron_distinct_observation_stct> for AeronDistinctObservation
impl From<aeron_distinct_observation_stct> for AeronDistinctObservation
source§fn from(value: aeron_distinct_observation_t) -> Self
fn from(value: aeron_distinct_observation_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronDistinctObservation
impl !RefUnwindSafe for AeronDistinctObservation
impl !Send for AeronDistinctObservation
impl !Sync for AeronDistinctObservation
impl Unpin for AeronDistinctObservation
impl !UnwindSafe for AeronDistinctObservation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)