Trait BootTimeAccessor

Source
pub trait BootTimeAccessor {
    // Required methods
    fn set_boot_timestamp(&mut self, _boot_ts_nanos: Timestamp);
    fn get_boot_timestamp(&self) -> Timestamp;
}

Required Methods§

Source

fn set_boot_timestamp(&mut self, _boot_ts_nanos: Timestamp)

Sets the boot timestamp in nanoseconds since the Unix epoch.

Source

fn get_boot_timestamp(&self) -> Timestamp

Returns the boot timestamp in nanoseconds since the Unix epoch.

Implementors§

Source§

impl<W> BootTimeAccessor for DefaultLogFormatter<W>
where W: Write + ToolIO<OutputItem = LogEntry>,