pub enum UnionOrAddError<Err, T, V, M: GrowableMapping<T, T>, E: GrowableExtra<T, V>> {
AddError(AddError<<E as GrowableExtra<T, V>>::AddError, <M as GrowableMapping<T, T>>::AddError>),
NotUnionable(Err),
}Variants§
AddError(AddError<<E as GrowableExtra<T, V>>::AddError, <M as GrowableMapping<T, T>>::AddError>)
NotUnionable(Err)
Trait Implementations§
Source§impl<Err: Debug, T: Debug, V: Debug, M: Debug + GrowableMapping<T, T>, E: Debug + GrowableExtra<T, V>> Debug for UnionOrAddError<Err, T, V, M, E>
impl<Err: Debug, T: Debug, V: Debug, M: Debug + GrowableMapping<T, T>, E: Debug + GrowableExtra<T, V>> Debug for UnionOrAddError<Err, T, V, M, E>
Source§impl<Err, T, V, M: GrowableMapping<T, T>, E: GrowableExtra<T, V>> Display for UnionOrAddError<Err, T, V, M, E>where
AddError<<E as GrowableExtra<T, V>>::AddError, <M as GrowableMapping<T, T>>::AddError>: Display,
impl<Err, T, V, M: GrowableMapping<T, T>, E: GrowableExtra<T, V>> Display for UnionOrAddError<Err, T, V, M, E>where
AddError<<E as GrowableExtra<T, V>>::AddError, <M as GrowableMapping<T, T>>::AddError>: Display,
Source§impl<Err, T, V, M: GrowableMapping<T, T>, E: GrowableExtra<T, V>> Error for UnionOrAddError<Err, T, V, M, E>where
AddError<<E as GrowableExtra<T, V>>::AddError, <M as GrowableMapping<T, T>>::AddError>: Error,
Self: Debug + Display,
impl<Err, T, V, M: GrowableMapping<T, T>, E: GrowableExtra<T, V>> Error for UnionOrAddError<Err, T, V, M, E>where
AddError<<E as GrowableExtra<T, V>>::AddError, <M as GrowableMapping<T, T>>::AddError>: Error,
Self: Debug + Display,
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<Err, T, V, M, E> Freeze for UnionOrAddError<Err, T, V, M, E>where
Err: Freeze,
<M as GrowableMapping<T, T>>::AddError: Freeze,
<E as GrowableExtra<T, V>>::AddError: Freeze,
impl<Err, T, V, M, E> RefUnwindSafe for UnionOrAddError<Err, T, V, M, E>where
Err: RefUnwindSafe,
<M as GrowableMapping<T, T>>::AddError: RefUnwindSafe,
<E as GrowableExtra<T, V>>::AddError: RefUnwindSafe,
impl<Err, T, V, M, E> Send for UnionOrAddError<Err, T, V, M, E>where
Err: Send,
<M as GrowableMapping<T, T>>::AddError: Send,
<E as GrowableExtra<T, V>>::AddError: Send,
impl<Err, T, V, M, E> Sync for UnionOrAddError<Err, T, V, M, E>where
Err: Sync,
<M as GrowableMapping<T, T>>::AddError: Sync,
<E as GrowableExtra<T, V>>::AddError: Sync,
impl<Err, T, V, M, E> Unpin for UnionOrAddError<Err, T, V, M, E>where
Err: Unpin,
<M as GrowableMapping<T, T>>::AddError: Unpin,
<E as GrowableExtra<T, V>>::AddError: Unpin,
impl<Err, T, V, M, E> UnwindSafe for UnionOrAddError<Err, T, V, M, E>where
Err: UnwindSafe,
<M as GrowableMapping<T, T>>::AddError: UnwindSafe,
<E as GrowableExtra<T, V>>::AddError: 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