referrerpolicy=no-referrer-when-downgrade

Trait sc_network::service::traits::RequestResponseConfig

source ·
pub trait RequestResponseConfig: Debug {
    // Required method
    fn protocol_name(&self) -> &ProtocolName;
}
Expand description

Trait defining the required functionality from a request-response protocol configuration.

Required Methods§

source

fn protocol_name(&self) -> &ProtocolName

Get protocol name.

Implementors§