pub struct EntryOwned { /* private fields */ }Expand description
An owned journal entry, suitable for caching, cross-thread use, or async contexts.
Implementations§
Source§impl EntryOwned
impl EntryOwned
Sourcepub fn iter_fields(&self) -> impl Iterator<Item = (&str, &[u8])>
pub fn iter_fields(&self) -> impl Iterator<Item = (&str, &[u8])>
Iterate over all fields (including duplicates) in entry order.
Sourcepub fn realtime_usec(&self) -> u64
pub fn realtime_usec(&self) -> u64
Realtime timestamp, microseconds since UNIX epoch.
Sourcepub fn monotonic_usec(&self) -> u64
pub fn monotonic_usec(&self) -> u64
Monotonic timestamp, microseconds since boot.
Trait Implementations§
Source§impl Clone for EntryOwned
impl Clone for EntryOwned
Source§fn clone(&self) -> EntryOwned
fn clone(&self) -> EntryOwned
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 moreAuto Trait Implementations§
impl Freeze for EntryOwned
impl RefUnwindSafe for EntryOwned
impl Send for EntryOwned
impl Sync for EntryOwned
impl Unpin for EntryOwned
impl UnwindSafe for EntryOwned
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