pub enum SwapError {
Unknown(String),
Missing(String, String),
Failed {
component: String,
message: String,
},
}Expand description
Why a mount or a load did not happen.
Variants§
Unknown(String)
No component of that name in the version.
Missing(String, String)
A component’s files were not fetched yet: (version, name)
(App::needs lists it).
Failed
The tree did not parse or mount, or the handlers were refused: why.
Trait Implementations§
impl StructuralPartialEq for SwapError
Auto Trait Implementations§
impl Forget for SwapError
impl Freeze for SwapError
impl Move for SwapError
impl RefUnwindSafe for SwapError
impl Send for SwapError
impl Sync for SwapError
impl Unpin for SwapError
impl UnsafeUnpin for SwapError
impl UnwindSafe for SwapError
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Variant for T
impl<T> Variant for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant trait object to &mut dyn Any.Source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant trait object to Box<dyn Any>.