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