Struct rusteron_archive::AeronCounter
source · pub struct AeronCounter { /* private fields */ }
Implementations§
source§impl AeronCounter
impl AeronCounter
pub fn new(async_: &AeronAsyncAddCounter) -> Result<Self, AeronCError>
source§impl AeronCounter
impl AeronCounter
pub fn new_zeroed() -> Result<Self, AeronCError>
sourcepub fn constants(
&self,
constants: &AeronCounterConstants,
) -> Result<i32, AeronCError>
pub fn constants( &self, constants: &AeronCounterConstants, ) -> Result<i32, AeronCError>
sourcepub fn close<AeronNotificationHandlerImpl: AeronNotificationCallback>(
&self,
on_close_complete: Option<&Handler<AeronNotificationHandlerImpl>>,
) -> Result<i32, AeronCError>
pub fn close<AeronNotificationHandlerImpl: AeronNotificationCallback>( &self, on_close_complete: Option<&Handler<AeronNotificationHandlerImpl>>, ) -> Result<i32, AeronCError>
pub fn get_inner(&self) -> *mut aeron_counter_t
§impl AeronCounter
impl AeronCounter
pub fn addr_atomic(&self) -> &AtomicI64
Trait Implementations§
source§impl Clone for AeronCounter
impl Clone for AeronCounter
source§fn clone(&self) -> AeronCounter
fn clone(&self) -> AeronCounter
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 AeronCounter
impl Debug for AeronCounter
source§impl Deref for AeronCounter
impl Deref for AeronCounter
source§impl From<&AeronCounter> for *mut aeron_counter_t
impl From<&AeronCounter> for *mut aeron_counter_t
source§fn from(value: &AeronCounter) -> Self
fn from(value: &AeronCounter) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_counter_stct> for AeronCounter
impl From<*const aeron_counter_stct> for AeronCounter
source§fn from(value: *const aeron_counter_t) -> Self
fn from(value: *const aeron_counter_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_counter_stct> for AeronCounter
impl From<*mut aeron_counter_stct> for AeronCounter
source§fn from(value: *mut aeron_counter_t) -> Self
fn from(value: *mut aeron_counter_t) -> Self
Converts to this type from the input type.
source§impl From<AeronCounter> for *mut aeron_counter_t
impl From<AeronCounter> for *mut aeron_counter_t
source§fn from(value: AeronCounter) -> Self
fn from(value: AeronCounter) -> Self
Converts to this type from the input type.
source§impl From<AeronCounter> for aeron_counter_t
impl From<AeronCounter> for aeron_counter_t
source§fn from(value: AeronCounter) -> Self
fn from(value: AeronCounter) -> Self
Converts to this type from the input type.
source§impl From<aeron_counter_stct> for AeronCounter
impl From<aeron_counter_stct> for AeronCounter
source§fn from(value: aeron_counter_t) -> Self
fn from(value: aeron_counter_t) -> Self
Converts to this type from the input type.
impl Send for AeronCounter
impl Sync for AeronCounter
Auto Trait Implementations§
impl Freeze for AeronCounter
impl !RefUnwindSafe for AeronCounter
impl Unpin for AeronCounter
impl !UnwindSafe for AeronCounter
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
)