pub enum BothError<A, B> {
A(A),
B(B),
}
Variants§
Trait Implementations§
impl<A: Eq, B: Eq> Eq for BothError<A, B>
impl<A, B> StructuralPartialEq for BothError<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for BothError<A, B>
impl<A, B> RefUnwindSafe for BothError<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for BothError<A, B>
impl<A, B> Sync for BothError<A, B>
impl<A, B> Unpin for BothError<A, B>
impl<A, B> UnwindSafe for BothError<A, B>where
A: UnwindSafe,
B: 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