pub enum ContainerError {
Box(BoxError),
Boot {
instance: String,
source: Box<Self>,
},
Message(String),
Register {
instance: String,
source: Box<Self>,
},
Resolve {
instance: String,
},
}Variants§
Implementations§
Trait Implementations§
source§impl Debug for ContainerError
impl Debug for ContainerError
source§impl Display for ContainerError
impl Display for ContainerError
source§impl Error for ContainerError
impl Error for ContainerError
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()
source§impl From<ContainerError> for Error
impl From<ContainerError> for Error
source§fn from(source: ContainerError) -> Self
fn from(source: ContainerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContainerError
impl !RefUnwindSafe for ContainerError
impl Send for ContainerError
impl Sync for ContainerError
impl Unpin for ContainerError
impl !UnwindSafe for ContainerError
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