pub struct ModuleFailure {
pub name: String,
pub reason: String,
}Expand description
One dependency that failed to load. The app keeps running without it.
Fields§
§name: StringThe declared name.
reason: StringThe reason, as printed in the banner (or the one-line notice the static-host refusal prints instead).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModuleFailure
impl RefUnwindSafe for ModuleFailure
impl Send for ModuleFailure
impl Sync for ModuleFailure
impl Unpin for ModuleFailure
impl UnsafeUnpin for ModuleFailure
impl UnwindSafe for ModuleFailure
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.