Enum libp2p::core::either::EitherName
source · pub enum EitherName<A, B> {
A(A),
B(B),
}
Variants§
Trait Implementations§
source§impl<A, B> Clone for EitherName<A, B>where
A: Clone,
B: Clone,
impl<A, B> Clone for EitherName<A, B>where
A: Clone,
B: Clone,
source§fn clone(&self) -> EitherName<A, B>
fn clone(&self) -> EitherName<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