Enum libp2p_floodsub::protocol::FloodsubSubscriptionAction [−][src]
pub enum FloodsubSubscriptionAction { Subscribe, Unsubscribe, }
Action that a subscription wants to perform.
Variants
The remote wants to subscribe to the given topic.
The remote wants to unsubscribe from the given topic.
Trait Implementations
impl Clone for FloodsubSubscriptionAction
[src]
impl Clone for FloodsubSubscriptionAction
[src]fn clone(&self) -> FloodsubSubscriptionAction
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for FloodsubSubscriptionAction
[src]
impl Hash for FloodsubSubscriptionAction
[src]