pub enum ShorthandError {
UnknownAction(String),
MissingOsName,
MissingFeature,
MissingArch,
UnknownRuleType(String),
InvalidOsName(String),
InvalidArch(String),
}Variants§
UnknownAction(String)
MissingOsName
MissingFeature
MissingArch
UnknownRuleType(String)
InvalidOsName(String)
InvalidArch(String)
Trait Implementations§
Source§impl Debug for ShorthandError
impl Debug for ShorthandError
Source§impl Display for ShorthandError
impl Display for ShorthandError
Source§impl Error for ShorthandError
impl Error for ShorthandError
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 From<ShorthandError> for DecodeError
impl From<ShorthandError> for DecodeError
Source§fn from(source: ShorthandError) -> Self
fn from(source: ShorthandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShorthandError
impl RefUnwindSafe for ShorthandError
impl Send for ShorthandError
impl Sync for ShorthandError
impl Unpin for ShorthandError
impl UnsafeUnpin for ShorthandError
impl UnwindSafe for ShorthandError
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