Struct staart::TailedFile
source · pub struct TailedFile<T> { /* private fields */ }
Expand description
TailedFile
tracks the state of a file being followed. It offers
methods for updating this state, and printing data to stdout
.
Implementations§
source§impl<T> TailedFile<T>
impl<T> TailedFile<T>
sourcepub fn new(path: T) -> Result<TailedFile<T>, StaartError>
pub fn new(path: T) -> Result<TailedFile<T>, StaartError>
Auto Trait Implementations§
impl<T> Freeze for TailedFile<T>where
T: Freeze,
impl<T> RefUnwindSafe for TailedFile<T>where
T: RefUnwindSafe,
impl<T> Send for TailedFile<T>where
T: Send,
impl<T> Sync for TailedFile<T>where
T: Sync,
impl<T> Unpin for TailedFile<T>where
T: Unpin,
impl<T> UnwindSafe for TailedFile<T>where
T: UnwindSafe,
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