pub enum LogFileError {
FailedToRepresentOsString,
IncorrectFileName,
FailedToOpenBlockingReader(LogFileReaderError),
FailedToOpenAsyncReader(LogFileReaderError),
FailedToParseDateTime(ParseError),
FailedToParsePart(ParseIntError),
IO(Error),
}
Variants§
FailedToRepresentOsString
IncorrectFileName
FailedToOpenBlockingReader(LogFileReaderError)
FailedToOpenAsyncReader(LogFileReaderError)
Available on crate feature
asynchronous
only.FailedToParseDateTime(ParseError)
FailedToParsePart(ParseIntError)
IO(Error)
Trait Implementations§
Source§impl Debug for LogFileError
impl Debug for LogFileError
Source§impl Display for LogFileError
impl Display for LogFileError
Source§impl Error for LogFileError
impl Error for LogFileError
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<Error> for LogFileError
impl From<Error> for LogFileError
Source§impl From<LogFileError> for LogDirError
impl From<LogFileError> for LogDirError
Source§fn from(source: LogFileError) -> Self
fn from(source: LogFileError) -> Self
Converts to this type from the input type.
Source§impl From<LogFileError> for LogDirReaderError
impl From<LogFileError> for LogDirReaderError
Source§fn from(source: LogFileError) -> Self
fn from(source: LogFileError) -> Self
Converts to this type from the input type.
Source§impl From<LogFileError> for LogDirReaderError
Available on crate feature asynchronous
only.
impl From<LogFileError> for LogDirReaderError
Available on crate feature
asynchronous
only.Source§fn from(source: LogFileError) -> Self
fn from(source: LogFileError) -> Self
Converts to this type from the input type.
Source§impl From<LogFileReaderError> for LogFileError
impl From<LogFileReaderError> for LogFileError
Source§fn from(source: LogFileReaderError) -> Self
fn from(source: LogFileReaderError) -> Self
Converts to this type from the input type.
Source§impl From<LogFileReaderError> for LogFileError
impl From<LogFileReaderError> for LogFileError
Source§fn from(source: LogFileReaderError) -> Self
fn from(source: LogFileReaderError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for LogFileError
impl From<ParseError> for LogFileError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for LogFileError
impl From<ParseIntError> for LogFileError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LogFileError
impl !RefUnwindSafe for LogFileError
impl Send for LogFileError
impl Sync for LogFileError
impl Unpin for LogFileError
impl !UnwindSafe for LogFileError
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