pub enum DependencyError<K: Clone + Debug + PartialEq> {
MissingDependency(K),
CircularDependency,
}Variants§
Trait Implementations§
Source§impl<K: Clone + Clone + Debug + PartialEq> Clone for DependencyError<K>
impl<K: Clone + Clone + Debug + PartialEq> Clone for DependencyError<K>
Source§fn clone(&self) -> DependencyError<K>
fn clone(&self) -> DependencyError<K>
Returns a duplicate 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 moreimpl<K: Clone + Debug + PartialEq> StructuralPartialEq for DependencyError<K>
Auto Trait Implementations§
impl<K> Freeze for DependencyError<K>where
K: Freeze,
impl<K> RefUnwindSafe for DependencyError<K>where
K: RefUnwindSafe,
impl<K> Send for DependencyError<K>where
K: Send,
impl<K> Sync for DependencyError<K>where
K: Sync,
impl<K> Unpin for DependencyError<K>where
K: Unpin,
impl<K> UnwindSafe for DependencyError<K>where
K: UnwindSafe,
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