Derive Macro libp2p::NetworkBehaviour [−][src]
#[derive(NetworkBehaviour)]
{
// Attributes available to this derive:
#[behaviour]
}
Generates a delegating NetworkBehaviour implementation for the struct this is used for. See
the trait documentation for better description.