Enum libp2p::core::either::EitherError [−][src]
pub enum EitherError<A, B> {
A(A),
B(B),
}Variants
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for EitherError<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe, impl<A, B> Send for EitherError<A, B> where
A: Send,
B: Send, impl<A, B> Sync for EitherError<A, B> where
A: Sync,
B: Sync, impl<A, B> Unpin for EitherError<A, B> where
A: Unpin,
B: Unpin, impl<A, B> UnwindSafe for EitherError<A, B> where
A: UnwindSafe,
B: UnwindSafe, Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V