pub struct LogEntry {
pub sequence: u64,
pub timestamp_nanos: u64,
pub level: LogLevel,
pub message_id: u32,
pub data: Vec<u8>,
}
Expand description
A log entry containing all necessary information
Fields§
§sequence: u64
§timestamp_nanos: u64
§level: LogLevel
§message_id: u32
§data: Vec<u8>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnwindSafe for LogEntry
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