Enum ipfs_embed::GossipEvent
source · [−]Variants
Subscribed(PeerId)
Message(PeerId, Arc<[u8]>)
Unsubscribed(PeerId)
Trait Implementations
sourceimpl Clone for GossipEvent
impl Clone for GossipEvent
sourcefn clone(&self) -> GossipEvent
fn clone(&self) -> GossipEvent
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 GossipEvent
impl Debug for GossipEvent
sourceimpl PartialEq<GossipEvent> for GossipEvent
impl PartialEq<GossipEvent> for GossipEvent
sourcefn eq(&self, other: &GossipEvent) -> bool
fn eq(&self, other: &GossipEvent) -> bool
impl StructuralPartialEq for GossipEvent
Auto Trait Implementations
impl RefUnwindSafe for GossipEvent
impl Send for GossipEvent
impl Sync for GossipEvent
impl Unpin for GossipEvent
impl UnwindSafe for GossipEvent
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