Enum dill::InjectionError
source · pub enum InjectionError {
Unregistered(UnregisteredTypeError),
Ambiguous(AmbiguousTypeError),
}
Variants§
Unregistered(UnregisteredTypeError)
Ambiguous(AmbiguousTypeError)
Implementations§
Trait Implementations§
source§impl Clone for InjectionError
impl Clone for InjectionError
source§fn clone(&self) -> InjectionError
fn clone(&self) -> InjectionError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InjectionError
impl Debug for InjectionError
source§impl Display for InjectionError
impl Display for InjectionError
source§impl Error for InjectionError
impl Error for InjectionError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for InjectionError
impl PartialEq for InjectionError
source§fn eq(&self, other: &InjectionError) -> bool
fn eq(&self, other: &InjectionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InjectionError
impl StructuralEq for InjectionError
impl StructuralPartialEq for InjectionError
Auto Trait Implementations§
impl RefUnwindSafe for InjectionError
impl Send for InjectionError
impl Sync for InjectionError
impl Unpin for InjectionError
impl UnwindSafe for InjectionError
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