pub struct Topic<H>where
H: Hasher,{ /* private fields */ }
Expand description
A gossipsub topic.
Implementations§
Trait Implementations§
source§impl<H> Ord for Topic<H>
impl<H> Ord for Topic<H>
source§impl<H> PartialEq for Topic<H>
impl<H> PartialEq for Topic<H>
source§impl<H> PartialOrd for Topic<H>where
H: PartialOrd + Hasher,
impl<H> PartialOrd for Topic<H>where
H: PartialOrd + Hasher,
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 for Topic<H>
impl<H> StructuralEq for Topic<H>where
H: Hasher,
impl<H> StructuralPartialEq for Topic<H>where
H: Hasher,
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