Type Alias libp2p_pubsub_core::Sha256Topic
source · pub type Sha256Topic = Topic<Sha256Hash>;
Aliased Type§
struct Sha256Topic { /* private fields */ }
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<Topic<H>> for Topic<H>
impl<H: PartialEq + Hasher> PartialEq<Topic<H>> for Topic<H>
source§impl<H: PartialOrd + Hasher> PartialOrd<Topic<H>> for Topic<H>
impl<H: PartialOrd + Hasher> PartialOrd<Topic<H>> 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 more