#[repr(C)]pub struct elog_main_t {Show 18 fields
pub n_total_events: u32_,
pub n_total_events_disable_limit: u32_,
pub placeholder_event: elog_event_t,
pub event_ring_size: uword,
pub event_ring: *mut elog_event_t,
pub event_types: *mut elog_event_type_t,
pub event_type_by_format: *mut uword,
pub string_table: *mut c_char,
pub string_table_hash: *mut uword,
pub string_table_tmp: *mut u8_,
pub tracks: *mut elog_track_t,
pub default_track: elog_track_t,
pub cpu_timer: clib_time_t,
pub init_time: elog_time_stamp_t,
pub serialize_time: elog_time_stamp_t,
pub lock: *mut uword,
pub nsec_per_cpu_clock: f64_,
pub events: *mut elog_event_t,
}Fields§
§n_total_events: u32_§n_total_events_disable_limit: u32_§placeholder_event: elog_event_t§event_ring_size: uword§event_ring: *mut elog_event_t§event_types: *mut elog_event_type_t§event_type_by_format: *mut uword§string_table: *mut c_char§string_table_hash: *mut uword§string_table_tmp: *mut u8_§tracks: *mut elog_track_t§default_track: elog_track_t§cpu_timer: clib_time_t§init_time: elog_time_stamp_t§serialize_time: elog_time_stamp_t§lock: *mut uword§nsec_per_cpu_clock: f64_§events: *mut elog_event_tTrait Implementations§
Source§impl Clone for elog_main_t
impl Clone for elog_main_t
Source§fn clone(&self) -> elog_main_t
fn clone(&self) -> elog_main_t
Returns a duplicate 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 Default for elog_main_t
impl Default for elog_main_t
impl Copy for elog_main_t
Auto Trait Implementations§
impl Freeze for elog_main_t
impl RefUnwindSafe for elog_main_t
impl !Send for elog_main_t
impl !Sync for elog_main_t
impl Unpin for elog_main_t
impl UnsafeUnpin for elog_main_t
impl UnwindSafe for elog_main_t
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