pub enum TargetError {
WrongMagic(u32),
UnknownAbi(u32),
VersionOutOfRange,
VersionMismatch {
target: Version,
model: Version,
},
InvalidProfiles(u32),
UnknownLevel(u32),
UnknownExtensions(u64),
ExtensionProfileMismatch {
extensions: ExtensionSet,
required_profiles: ProfileSet,
},
ReservedWords,
}Variants§
WrongMagic(u32)
UnknownAbi(u32)
VersionOutOfRange
VersionMismatch
InvalidProfiles(u32)
UnknownLevel(u32)
UnknownExtensions(u64)
ExtensionProfileMismatch
ReservedWords
Trait Implementations§
Source§impl Clone for TargetError
impl Clone for TargetError
Source§fn clone(&self) -> TargetError
fn clone(&self) -> TargetError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TargetError
Source§impl Debug for TargetError
impl Debug for TargetError
Source§impl Display for TargetError
impl Display for TargetError
impl Eq for TargetError
Source§impl PartialEq for TargetError
impl PartialEq for TargetError
Source§fn eq(&self, other: &TargetError) -> bool
fn eq(&self, other: &TargetError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TargetError
Auto Trait Implementations§
impl Freeze for TargetError
impl RefUnwindSafe for TargetError
impl Send for TargetError
impl Sync for TargetError
impl Unpin for TargetError
impl UnsafeUnpin for TargetError
impl UnwindSafe for TargetError
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