pub struct Line {
pub printed_to: LineType,
pub time: Instant,
pub content: String,
}
Expand description
A single line from the output of a command
This contains what the line was printed to (stdout/stderr), a timestamp, and the content printed of course.
Fields§
§printed_to: LineType
§time: Instant
§content: String
Implementations§
Trait Implementations§
Source§impl Ord for Line
impl Ord for Line
Source§impl PartialOrd for Line
impl PartialOrd for Line
impl Eq for Line
impl StructuralPartialEq for Line
Auto Trait Implementations§
impl Freeze for Line
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnwindSafe for Line
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