pub enum ComponentError {
NotEnabled(String),
BadConfig(String),
}Expand description
ComponentError describes the types of errors that a component may return. This is most used during configuration.
Variants§
NotEnabled(String)
Indicates that a component was unable to fully activate itself.
BadConfig(String)
Indicates that the component was unable to obtain enough configuration information to fully activate itself.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComponentError
impl RefUnwindSafe for ComponentError
impl Send for ComponentError
impl Sync for ComponentError
impl Unpin for ComponentError
impl UnwindSafe for ComponentError
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