Struct libp2p::floodsub::protocol::FloodsubSubscription [−][src]
pub struct FloodsubSubscription {
pub action: FloodsubSubscriptionAction,
pub topic: Topic,
}Expand description
A subscription received by the floodsub system.
Fields
action: FloodsubSubscriptionActionAction to perform.
topic: TopicThe topic from which to subscribe or unsubscribe.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for FloodsubSubscriptionimpl Send for FloodsubSubscriptionimpl Sync for FloodsubSubscriptionimpl Unpin for FloodsubSubscriptionimpl UnwindSafe for FloodsubSubscriptionBlanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash, pub fn vzip(self) -> V