pub struct LoadFailure {
pub module: String,
pub path: PathBuf,
pub reason: FailureReason,
}Expand description
One module that did not load, named so a banner can say which and why.
Fields§
§module: StringThe name the app declared the module under.
path: PathBufThe library file the loader probed.
reason: FailureReasonWhat went wrong.
Trait Implementations§
Source§impl Debug for LoadFailure
impl Debug for LoadFailure
Source§impl Display for LoadFailure
impl Display for LoadFailure
Source§impl Error for LoadFailure
impl Error for LoadFailure
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 LoadFailure
impl RefUnwindSafe for LoadFailure
impl Send for LoadFailure
impl Sync for LoadFailure
impl Unpin for LoadFailure
impl UnsafeUnpin for LoadFailure
impl UnwindSafe for LoadFailure
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.