pub enum FailureReason {
Open(String),
MissingEntry,
CompilerPlugin,
NullDescriptor,
AbiMismatch {
want: u32,
got: u32,
},
ScriptWireMismatch {
want: u16,
got: u16,
},
BadDescriptor(String),
NameMismatch {
reported: String,
},
AlreadyLoaded(String),
Init(String),
InitPanicked(String),
BadManifest(String),
}Expand description
Why one module did not load.
Variants§
Open(String)
MissingEntry
CompilerPlugin
NullDescriptor
AbiMismatch
ScriptWireMismatch
BadDescriptor(String)
NameMismatch
AlreadyLoaded(String)
Init(String)
InitPanicked(String)
BadManifest(String)
Trait Implementations§
Source§impl Debug for FailureReason
impl Debug for FailureReason
Source§impl Display for FailureReason
impl Display for FailureReason
Source§impl Error for FailureReason
impl Error for FailureReason
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()
Auto Trait Implementations§
impl Freeze for FailureReason
impl RefUnwindSafe for FailureReason
impl Send for FailureReason
impl Sync for FailureReason
impl Unpin for FailureReason
impl UnsafeUnpin for FailureReason
impl UnwindSafe for FailureReason
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.