Enum libp2p_core::either::EitherOutbound
source · pub enum EitherOutbound<A: StreamMuxer, B: StreamMuxer> {
A(A::OutboundSubstream),
B(B::OutboundSubstream),
}
Variants§
A(A::OutboundSubstream)
B(B::OutboundSubstream)
Trait Implementations§
source§impl<A: Clone + StreamMuxer, B: Clone + StreamMuxer> Clone for EitherOutbound<A, B>where
A::OutboundSubstream: Clone,
B::OutboundSubstream: Clone,
impl<A: Clone + StreamMuxer, B: Clone + StreamMuxer> Clone for EitherOutbound<A, B>where
A::OutboundSubstream: Clone,
B::OutboundSubstream: Clone,
source§fn clone(&self) -> EitherOutbound<A, B>
fn clone(&self) -> EitherOutbound<A, B>
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 more