logo
pub trait UpgradeInfoSend: 'static + Send {
    type Info: 'static + ProtocolName + Clone + Send;
    type InfoIter: 'static + Iterator + Send;
    fn protocol_info(&self) -> Self::InfoIter;
}
Expand description

Implemented automatically on all types that implement UpgradeInfo and Send + 'static.

Do not implement this trait yourself. Instead, please implement UpgradeInfo.

Associated Types

Equivalent to UpgradeInfo::Info.

Equivalent to UpgradeInfo::InfoIter.

Required methods

Implementors