pub enum GossipsubVersion {
V1_0,
V1_1,
}
Expand description
Selector for custom Protocol Id
Variants
V1_0
V1_1
Trait Implementations
sourceimpl Clone for GossipsubVersion
impl Clone for GossipsubVersion
sourcefn clone(&self) -> GossipsubVersion
fn clone(&self) -> GossipsubVersion
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GossipsubVersion
impl Debug for GossipsubVersion
sourceimpl PartialEq<GossipsubVersion> for GossipsubVersion
impl PartialEq<GossipsubVersion> for GossipsubVersion
sourcefn eq(&self, other: &GossipsubVersion) -> bool
fn eq(&self, other: &GossipsubVersion) -> bool
impl Eq for GossipsubVersion
impl StructuralEq for GossipsubVersion
impl StructuralPartialEq for GossipsubVersion
Auto Trait Implementations
impl RefUnwindSafe for GossipsubVersion
impl Send for GossipsubVersion
impl Sync for GossipsubVersion
impl Unpin for GossipsubVersion
impl UnwindSafe for GossipsubVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more