pub struct LocalJournalProvider { /* private fields */ }Expand description
Local-host values that callers may pass explicitly to the writer.
Implementations§
Source§impl LocalJournalProvider
impl LocalJournalProvider
pub fn load(options: LoadOptions) -> Result<Self>
pub fn machine_id(&self) -> Uuid
pub fn boot_id(&self) -> Uuid
pub fn diagnostics(&self) -> &Diagnostics
pub fn monotonic_source(&self) -> &str
pub fn realtime_usec(&self) -> Result<u64>
Sourcepub fn monotonic_usec(&self) -> Result<u64>
pub fn monotonic_usec(&self) -> Result<u64>
Returns a boot-anchored monotonic microsecond timestamp.
Values are clamped to strictly increase within this provider instance.
Sourcepub fn entry_timestamps(&self) -> Result<EntryTimestamps>
pub fn entry_timestamps(&self) -> Result<EntryTimestamps>
Builds the high-level Rust log-writer timestamp options.
Auto Trait Implementations§
impl !Freeze for LocalJournalProvider
impl !RefUnwindSafe for LocalJournalProvider
impl !UnwindSafe for LocalJournalProvider
impl Send for LocalJournalProvider
impl Sync for LocalJournalProvider
impl Unpin for LocalJournalProvider
impl UnsafeUnpin for LocalJournalProvider
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