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§
sourcefn protocol_name(&self) -> &ProtocolName
fn protocol_name(&self) -> &ProtocolName
Get protocol name.