pub enum TailEvent {
Line(String),
Reset,
Err(Error),
}
Variants§
Line(String)
A new line was read from the file. The line includes its trailing newline character.
Reset
The file appears to have been rewritten (size shrunk)
Err(Error)
An error was encountered with the file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TailEvent
impl !RefUnwindSafe for TailEvent
impl Send for TailEvent
impl Sync for TailEvent
impl Unpin for TailEvent
impl !UnwindSafe for TailEvent
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