Struct libp2p_gossipsub::Topic
source · pub struct Topic<H: Hasher> { /* private fields */ }
Expand description
A gossipsub topic.
Implementations§
Trait Implementations§
source§impl<H: Ord + Hasher> Ord for Topic<H>
impl<H: Ord + Hasher> Ord for Topic<H>
source§impl<H: PartialEq + Hasher> PartialEq for Topic<H>
impl<H: PartialEq + Hasher> PartialEq for Topic<H>
source§impl<H: PartialOrd + Hasher> PartialOrd for Topic<H>
impl<H: PartialOrd + Hasher> PartialOrd for Topic<H>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<H: Eq + Hasher> Eq for Topic<H>
impl<H: Hasher> StructuralEq for Topic<H>
impl<H: Hasher> StructuralPartialEq for Topic<H>
Auto Trait Implementations§
impl<H> RefUnwindSafe for Topic<H>where
H: RefUnwindSafe,
impl<H> Send for Topic<H>where
H: Send,
impl<H> Sync for Topic<H>where
H: Sync,
impl<H> Unpin for Topic<H>where
H: Unpin,
impl<H> UnwindSafe for Topic<H>where
H: UnwindSafe,
Blanket Implementations§
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