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