pub enum TailerError {
Io {
path: PathBuf,
source: Error,
},
}Expand description
Errors that can occur during file tailing operations.
Variants§
Io
The log file could not be opened or read.
Trait Implementations§
Source§impl Debug for TailerError
impl Debug for TailerError
Source§impl Display for TailerError
impl Display for TailerError
Source§impl Error for TailerError
impl Error for TailerError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<TailerError> for StreamError
impl From<TailerError> for StreamError
Source§fn from(source: TailerError) -> Self
fn from(source: TailerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TailerError
impl !UnwindSafe for TailerError
impl Freeze for TailerError
impl Send for TailerError
impl Sync for TailerError
impl Unpin for TailerError
impl UnsafeUnpin for TailerError
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