Enum rust_ipfs::PubsubEvent
source · pub enum PubsubEvent {
Subscribe {
peer_id: PeerId,
},
Unsubscribe {
peer_id: PeerId,
},
}
Variants§
Trait Implementations§
source§impl Clone for PubsubEvent
impl Clone for PubsubEvent
source§fn clone(&self) -> PubsubEvent
fn clone(&self) -> PubsubEvent
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 moreAuto Trait Implementations§
impl Freeze for PubsubEvent
impl RefUnwindSafe for PubsubEvent
impl Send for PubsubEvent
impl Sync for PubsubEvent
impl Unpin for PubsubEvent
impl UnwindSafe for PubsubEvent
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more