pub trait UpgradeInfoSend: Send + 'static {
    type Info: ProtocolName + Clone + Send + 'static;
    type InfoIter: Iterator<Item = Self::Info> + Send + 'static;

    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.

Required Associated Types§

Equivalent to UpgradeInfo::Info.

Equivalent to UpgradeInfo::InfoIter.

Required Methods§

Implementors§