pub enum TailEntry {
Line {
text: String,
truncated: bool,
at_ms: Option<u64>,
},
ProcessStart,
}Expand description
One retained entry.
Boundaries are in-band rather than a separate field because their position relative to the lines is the whole point: “these three lines came from the process that died, those came from its replacement” is unanswerable from a count.
Variants§
Line
Fields
§
at_ms: Option<u64>Wall-clock Unix milliseconds at which the reader framed this line,
the same instant stamped on its capture-file line. None for a line
admitted without one (see StderrRing::push_line).
ProcessStart
The supervisor spawned a new process for this module. Lines after this entry come from the new one.
Trait Implementations§
impl Eq for TailEntry
impl StructuralPartialEq for TailEntry
Auto Trait Implementations§
impl Forget for TailEntry
impl Freeze for TailEntry
impl Move for TailEntry
impl RefUnwindSafe for TailEntry
impl Send for TailEntry
impl Sync for TailEntry
impl Unpin for TailEntry
impl UnsafeUnpin for TailEntry
impl UnwindSafe for TailEntry
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