pub enum LoadM2DirError {
NotDir,
NoDotM2Dir,
}Expand description
An error that can occur while loading an m2dir
Variants§
NotDir
The given path was not a directory
NoDotM2Dir
The given path does not contain a valid .m2dir file
Trait Implementations§
Source§impl Debug for LoadM2DirError
impl Debug for LoadM2DirError
Source§impl Display for LoadM2DirError
impl Display for LoadM2DirError
Source§impl Error for LoadM2DirError
impl Error for LoadM2DirError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<LoadM2DirError> for DeliveryError
impl From<LoadM2DirError> for DeliveryError
Source§fn from(e: LoadM2DirError) -> Self
fn from(e: LoadM2DirError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoadM2DirError
impl RefUnwindSafe for LoadM2DirError
impl Send for LoadM2DirError
impl Sync for LoadM2DirError
impl Unpin for LoadM2DirError
impl UnwindSafe for LoadM2DirError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more