Enum rust_ipfs::p2p::BehaviourEvent
source · pub enum BehaviourEvent {
Mdns(MdnsEvent),
Kad(KademliaEvent),
Bitswap(BitswapEvent),
Ping(PingEvent),
Identify(IdentifyEvent),
Gossipsub(GossipsubEvent),
Autonat(Event),
Relay(RelayEvent),
RelayClient(RelayClientEvent),
Dcutr(DcutrEvent),
Void(Void),
}
Variants§
Mdns(MdnsEvent)
Kad(KademliaEvent)
Bitswap(BitswapEvent)
Ping(PingEvent)
Identify(IdentifyEvent)
Gossipsub(GossipsubEvent)
Autonat(Event)
Relay(RelayEvent)
RelayClient(RelayClientEvent)
Dcutr(DcutrEvent)
Void(Void)
Trait Implementations§
source§impl Debug for BehaviourEvent
impl Debug for BehaviourEvent
source§impl From<BitswapEvent> for BehaviourEvent
impl From<BitswapEvent> for BehaviourEvent
source§fn from(event: BitswapEvent) -> Self
fn from(event: BitswapEvent) -> Self
Converts to this type from the input type.