#[repr(C)]pub struct aeron_counter_constants_stct {
pub registration_id: i64,
pub counter_id: i32,
}
Expand description
Configuration for a counter that does not change during it’s lifetime.
Fields§
§registration_id: i64
Return the registration id used to register this counter with the media driver.
counter_id: i32
Identity for the counter within the counters reader and counters manager.
Trait Implementations§
source§impl Clone for aeron_counter_constants_stct
impl Clone for aeron_counter_constants_stct
source§fn clone(&self) -> aeron_counter_constants_stct
fn clone(&self) -> aeron_counter_constants_stct
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 aeron_counter_constants_stct
impl Debug for aeron_counter_constants_stct
source§impl From<aeron_counter_constants_stct> for AeronCounterConstants
impl From<aeron_counter_constants_stct> for AeronCounterConstants
source§fn from(value: aeron_counter_constants_t) -> Self
fn from(value: aeron_counter_constants_t) -> Self
Converts to this type from the input type.
impl Copy for aeron_counter_constants_stct
Auto Trait Implementations§
impl Freeze for aeron_counter_constants_stct
impl RefUnwindSafe for aeron_counter_constants_stct
impl Send for aeron_counter_constants_stct
impl Sync for aeron_counter_constants_stct
impl Unpin for aeron_counter_constants_stct
impl UnwindSafe for aeron_counter_constants_stct
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
)