Struct rusteron_archive::AeronCncConstants
source · pub struct AeronCncConstants { /* private fields */ }
Implementations§
source§impl AeronCncConstants
impl AeronCncConstants
pub fn new( cnc_version: i32, to_driver_buffer_length: i32, to_clients_buffer_length: i32, counter_metadata_buffer_length: i32, counter_values_buffer_length: i32, error_log_buffer_length: i32, client_liveness_timeout: i64, start_timestamp: i64, pid: i64, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn cnc_version(&self) -> i32
pub fn to_driver_buffer_length(&self) -> i32
pub fn to_clients_buffer_length(&self) -> i32
pub fn counter_metadata_buffer_length(&self) -> i32
pub fn counter_values_buffer_length(&self) -> i32
pub fn error_log_buffer_length(&self) -> i32
pub fn client_liveness_timeout(&self) -> i64
pub fn start_timestamp(&self) -> i64
pub fn pid(&self) -> i64
pub fn get_inner(&self) -> *mut aeron_cnc_constants_t
Trait Implementations§
source§impl Clone for AeronCncConstants
impl Clone for AeronCncConstants
source§fn clone(&self) -> AeronCncConstants
fn clone(&self) -> AeronCncConstants
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 AeronCncConstants
impl Debug for AeronCncConstants
source§impl Default for AeronCncConstants
impl Default for AeronCncConstants
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronCncConstants
impl Deref for AeronCncConstants
source§impl From<&AeronCncConstants> for *mut aeron_cnc_constants_t
impl From<&AeronCncConstants> for *mut aeron_cnc_constants_t
source§fn from(value: &AeronCncConstants) -> Self
fn from(value: &AeronCncConstants) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_cnc_constants_stct> for AeronCncConstants
impl From<*const aeron_cnc_constants_stct> for AeronCncConstants
source§fn from(value: *const aeron_cnc_constants_t) -> Self
fn from(value: *const aeron_cnc_constants_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_cnc_constants_stct> for AeronCncConstants
impl From<*mut aeron_cnc_constants_stct> for AeronCncConstants
source§fn from(value: *mut aeron_cnc_constants_t) -> Self
fn from(value: *mut aeron_cnc_constants_t) -> Self
Converts to this type from the input type.
source§impl From<AeronCncConstants> for *mut aeron_cnc_constants_t
impl From<AeronCncConstants> for *mut aeron_cnc_constants_t
source§fn from(value: AeronCncConstants) -> Self
fn from(value: AeronCncConstants) -> Self
Converts to this type from the input type.
source§impl From<AeronCncConstants> for aeron_cnc_constants_t
impl From<AeronCncConstants> for aeron_cnc_constants_t
source§fn from(value: AeronCncConstants) -> Self
fn from(value: AeronCncConstants) -> Self
Converts to this type from the input type.
source§impl From<aeron_cnc_constants_stct> for AeronCncConstants
impl From<aeron_cnc_constants_stct> for AeronCncConstants
source§fn from(value: aeron_cnc_constants_t) -> Self
fn from(value: aeron_cnc_constants_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronCncConstants
impl !RefUnwindSafe for AeronCncConstants
impl !Send for AeronCncConstants
impl !Sync for AeronCncConstants
impl Unpin for AeronCncConstants
impl !UnwindSafe for AeronCncConstants
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
)