pub enum GossipsubMessageAcceptance {
Accept,
Reject,
Ignore,
}
Variants§
Trait Implementations§
source§impl Clone for GossipsubMessageAcceptance
impl Clone for GossipsubMessageAcceptance
source§fn clone(&self) -> GossipsubMessageAcceptance
fn clone(&self) -> GossipsubMessageAcceptance
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 moresource§impl Debug for GossipsubMessageAcceptance
impl Debug for GossipsubMessageAcceptance
source§impl Hash for GossipsubMessageAcceptance
impl Hash for GossipsubMessageAcceptance
source§impl PartialEq<GossipsubMessageAcceptance> for GossipsubMessageAcceptance
impl PartialEq<GossipsubMessageAcceptance> for GossipsubMessageAcceptance
source§fn eq(&self, other: &GossipsubMessageAcceptance) -> bool
fn eq(&self, other: &GossipsubMessageAcceptance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.