Enum libp2p::core::either::EitherOutbound
source · pub enum EitherOutbound<A, B>where
A: StreamMuxer,
B: StreamMuxer,{
A(<A as StreamMuxer>::OutboundSubstream),
B(<B as StreamMuxer>::OutboundSubstream),
}
Variants§
A(<A as StreamMuxer>::OutboundSubstream)
B(<B as StreamMuxer>::OutboundSubstream)
Trait Implementations§
source§impl<A, B> Clone for EitherOutbound<A, B>where
A: Clone + StreamMuxer,
B: Clone + StreamMuxer,
<A as StreamMuxer>::OutboundSubstream: Clone,
<B as StreamMuxer>::OutboundSubstream: Clone,
impl<A, B> Clone for EitherOutbound<A, B>where
A: Clone + StreamMuxer,
B: Clone + StreamMuxer,
<A as StreamMuxer>::OutboundSubstream: Clone,
<B as StreamMuxer>::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