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