pub enum JournalSeek {
Head,
Tail,
ClockMonotonic {
boot_id: Id128,
usec: u64,
},
ClockRealtime {
usec: u64,
},
Cursor {
cursor: String,
},
}
Expand description
Seeking position in journal.
Note: variants corresponding to [Journal::next_skip()
] and [Journal::previous_skip()
] are
omitted because those are treated by sd-journal as pieces of journal iteration in that when
they complete the journal is at a specific entry. All the seek type operations don’t behave as
part of iteration, and don’t place the journal at a specific entry (iteration must be used to
move to a journal entry).
Variants§
Trait Implementations§
Source§impl Clone for JournalSeek
impl Clone for JournalSeek
Source§fn clone(&self) -> JournalSeek
fn clone(&self) -> JournalSeek
Returns a copy 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 moreSource§impl Debug for JournalSeek
impl Debug for JournalSeek
Source§impl Ord for JournalSeek
impl Ord for JournalSeek
Source§fn cmp(&self, other: &JournalSeek) -> Ordering
fn cmp(&self, other: &JournalSeek) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for JournalSeek
impl PartialEq for JournalSeek
Source§impl PartialOrd for JournalSeek
impl PartialOrd for JournalSeek
impl Eq for JournalSeek
impl StructuralPartialEq for JournalSeek
Auto Trait Implementations§
impl Freeze for JournalSeek
impl RefUnwindSafe for JournalSeek
impl Send for JournalSeek
impl Sync for JournalSeek
impl Unpin for JournalSeek
impl UnwindSafe for JournalSeek
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