Enum systemd::journal::JournalSeek [−][src]
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
Head
Tail
ClockMonotonic
ClockRealtime
Fields
usec: u64
Cursor
Fields
cursor: String
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for JournalSeek
impl Send for JournalSeek
impl Sync for JournalSeek
impl Unpin for JournalSeek
impl UnwindSafe for JournalSeek
Blanket Implementations
Mutably borrows from an owned value. Read more