pub enum MountParseError {
MissingTarget,
Invalid(String, Option<String>),
}Expand description
An error from parsing a mount.
Variants§
MissingTarget
The target key is missing. This is always required.
Invalid(String, Option<String>)
An invalid mount option was specified.
Trait Implementations§
Source§impl Debug for MountParseError
impl Debug for MountParseError
Source§impl Display for MountParseError
impl Display for MountParseError
impl Eq for MountParseError
Source§impl Error for MountParseError
impl Error for MountParseError
1.30.0 · 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 PartialEq for MountParseError
impl PartialEq for MountParseError
impl StructuralPartialEq for MountParseError
Auto Trait Implementations§
impl Freeze for MountParseError
impl RefUnwindSafe for MountParseError
impl Send for MountParseError
impl Sync for MountParseError
impl Unpin for MountParseError
impl UnsafeUnpin for MountParseError
impl UnwindSafe for MountParseError
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