pub struct AeronCounterUpdate { /* private fields */ }
Implementations§
source§impl AeronCounterUpdate
impl AeronCounterUpdate
pub fn new(correlation_id: i64, counter_id: i32) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn correlation_id(&self) -> i64
pub fn counter_id(&self) -> i32
pub fn get_inner(&self) -> *mut aeron_counter_update_t
Trait Implementations§
source§impl Clone for AeronCounterUpdate
impl Clone for AeronCounterUpdate
source§fn clone(&self) -> AeronCounterUpdate
fn clone(&self) -> AeronCounterUpdate
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 AeronCounterUpdate
impl Debug for AeronCounterUpdate
source§impl Default for AeronCounterUpdate
impl Default for AeronCounterUpdate
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronCounterUpdate
impl Deref for AeronCounterUpdate
source§impl From<&AeronCounterUpdate> for *mut aeron_counter_update_t
impl From<&AeronCounterUpdate> for *mut aeron_counter_update_t
source§fn from(value: &AeronCounterUpdate) -> Self
fn from(value: &AeronCounterUpdate) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_counter_update_stct> for AeronCounterUpdate
impl From<*const aeron_counter_update_stct> for AeronCounterUpdate
source§fn from(value: *const aeron_counter_update_t) -> Self
fn from(value: *const aeron_counter_update_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_counter_update_stct> for AeronCounterUpdate
impl From<*mut aeron_counter_update_stct> for AeronCounterUpdate
source§fn from(value: *mut aeron_counter_update_t) -> Self
fn from(value: *mut aeron_counter_update_t) -> Self
Converts to this type from the input type.
source§impl From<AeronCounterUpdate> for *mut aeron_counter_update_t
impl From<AeronCounterUpdate> for *mut aeron_counter_update_t
source§fn from(value: AeronCounterUpdate) -> Self
fn from(value: AeronCounterUpdate) -> Self
Converts to this type from the input type.
source§impl From<AeronCounterUpdate> for aeron_counter_update_t
impl From<AeronCounterUpdate> for aeron_counter_update_t
source§fn from(value: AeronCounterUpdate) -> Self
fn from(value: AeronCounterUpdate) -> Self
Converts to this type from the input type.
source§impl From<aeron_counter_update_stct> for AeronCounterUpdate
impl From<aeron_counter_update_stct> for AeronCounterUpdate
source§fn from(value: aeron_counter_update_t) -> Self
fn from(value: aeron_counter_update_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronCounterUpdate
impl !RefUnwindSafe for AeronCounterUpdate
impl !Send for AeronCounterUpdate
impl !Sync for AeronCounterUpdate
impl Unpin for AeronCounterUpdate
impl !UnwindSafe for AeronCounterUpdate
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
)