pub enum HypermailError {
Io(Error),
Config(String),
Parse(String),
DateParse(String),
MboxParse {
line: usize,
message: String,
},
FileNotFound(PathBuf),
InvalidConfigValue {
key: String,
message: String,
},
Lock(String),
Other(String),
}Variants§
Io(Error)
Config(String)
Parse(String)
DateParse(String)
MboxParse
FileNotFound(PathBuf)
InvalidConfigValue
Lock(String)
Other(String)
Trait Implementations§
Source§impl Debug for HypermailError
impl Debug for HypermailError
Source§impl Display for HypermailError
impl Display for HypermailError
Source§impl Error for HypermailError
impl Error for HypermailError
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()
Auto Trait Implementations§
impl Freeze for HypermailError
impl !RefUnwindSafe for HypermailError
impl Send for HypermailError
impl Sync for HypermailError
impl Unpin for HypermailError
impl UnsafeUnpin for HypermailError
impl !UnwindSafe for HypermailError
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