pub enum ModeParseError {
UnexpectedChar(&'static str, char),
UnexpectedEnd(&'static str),
OctalParseError(ParseIntError),
}
Expand description
Error parsing mode string.
Variants§
Trait Implementations§
Source§impl Debug for ModeParseError
impl Debug for ModeParseError
Source§impl Display for ModeParseError
impl Display for ModeParseError
Source§impl Error for ModeParseError
impl Error for ModeParseError
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<ModeParseError> for ModeError
impl From<ModeParseError> for ModeError
Source§fn from(err: ModeParseError) -> ModeError
fn from(err: ModeParseError) -> ModeError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ModeParseError
impl RefUnwindSafe for ModeParseError
impl Send for ModeParseError
impl Sync for ModeParseError
impl Unpin for ModeParseError
impl UnwindSafe for ModeParseError
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