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