pub enum MalformedDirectiveError {
UnknownArchitecture(String),
UnknownFeature {
idx: usize,
what: String,
},
DuplicateAlias {
reused: String,
},
UnknownDirective,
}
Variants§
UnknownArchitecture(String)
The architecture that was set was not recognized.
UnknownFeature
The feature at the index was unknown.
DuplicateAlias
UnknownDirective
Not a recognized directive.
Auto Trait Implementations§
impl Freeze for MalformedDirectiveError
impl RefUnwindSafe for MalformedDirectiveError
impl Send for MalformedDirectiveError
impl Sync for MalformedDirectiveError
impl Unpin for MalformedDirectiveError
impl UnwindSafe for MalformedDirectiveError
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