pub struct Line {
pub printed_to: LineType,
pub time: Instant,
pub content: String,
}
Expand description
A single line from the output of a command
Fields§
§printed_to: LineType
Which stream the line was printed to
time: Instant
When the line was printed
content: String
The content printed to the line
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