pub struct JournalCursor {
pub seqnum_id: [u8; 16],
pub seqnum: u64,
pub boot_id: [u8; 16],
pub monotonic_us: u64,
pub realtime_us: u64,
pub xor_hash: u64,
}Expand description
A parsed journal cursor string.
Format: s=<seqnum_id_hex>;i=<seqnum_hex>;b=<boot_id_hex>;m=<monotonic_hex>;t=<realtime_hex>;x=<xor_hash_hex>
Fields§
§seqnum_id: [u8; 16]§seqnum: u64§boot_id: [u8; 16]§monotonic_us: u64§realtime_us: u64§xor_hash: u64Implementations§
Source§impl JournalCursor
impl JournalCursor
Trait Implementations§
Source§impl Clone for JournalCursor
impl Clone for JournalCursor
Source§fn clone(&self) -> JournalCursor
fn clone(&self) -> JournalCursor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JournalCursor
impl Debug for JournalCursor
Source§impl<'de> Deserialize<'de> for JournalCursor
impl<'de> Deserialize<'de> for JournalCursor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for JournalCursor
Source§impl PartialEq for JournalCursor
impl PartialEq for JournalCursor
Source§fn eq(&self, other: &JournalCursor) -> bool
fn eq(&self, other: &JournalCursor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JournalCursor
impl Serialize for JournalCursor
impl StructuralPartialEq for JournalCursor
Auto Trait Implementations§
impl Freeze for JournalCursor
impl RefUnwindSafe for JournalCursor
impl Send for JournalCursor
impl Sync for JournalCursor
impl Unpin for JournalCursor
impl UnsafeUnpin for JournalCursor
impl UnwindSafe for JournalCursor
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