pub enum ContainerErrorKind {
NotFound,
CircularDependency,
CreationFailed,
TypeCastFailed,
Configuration,
Other,
}Expand description
Enumeration of different types of container errors
This enum categorizes the various types of errors that can occur during container operations, making it easier to handle different error conditions appropriately.
Variants§
NotFound
A component or dependency was not found
CircularDependency
A circular dependency was detected between components
CreationFailed
Failed to create a component instance
TypeCastFailed
Failed to cast a component to the expected type
Configuration
Configuration error occurred
Other
Other unspecified error
Trait Implementations§
Source§impl Debug for ContainerErrorKind
impl Debug for ContainerErrorKind
Source§impl Display for ContainerErrorKind
impl Display for ContainerErrorKind
impl Eq for ContainerErrorKind
Source§impl PartialEq for ContainerErrorKind
impl PartialEq for ContainerErrorKind
Source§fn eq(&self, other: &ContainerErrorKind) -> bool
fn eq(&self, other: &ContainerErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContainerErrorKind
Auto Trait Implementations§
impl Freeze for ContainerErrorKind
impl RefUnwindSafe for ContainerErrorKind
impl Send for ContainerErrorKind
impl Sync for ContainerErrorKind
impl Unpin for ContainerErrorKind
impl UnsafeUnpin for ContainerErrorKind
impl UnwindSafe for ContainerErrorKind
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