pub struct InjectError { /* private fields */ }
Expand description
Represents an error encountered while injecting dependencies.
Implementations§
Trait Implementations§
Source§impl Debug for InjectError
impl Debug for InjectError
Source§impl Display for InjectError
impl Display for InjectError
Source§impl Error for InjectError
impl Error for InjectError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for InjectError
impl RefUnwindSafe for InjectError
impl Send for InjectError
impl Sync for InjectError
impl Unpin for InjectError
impl UnwindSafe for InjectError
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