Trait tetsy_libp2p::swarm::protocols_handler::UpgradeInfoSend[][src]

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

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

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

Associated Types

type Info: 'static + ProtocolName + Clone + Send[src]

Equivalent to UpgradeInfo::Info.

type InfoIter: 'static + Iterator + Send[src]

Equivalent to UpgradeInfo::InfoIter.

Loading content...

Required methods

pub fn protocol_info(&self) -> Self::InfoIter[src]

Loading content...

Implementors

impl<K, H> UpgradeInfoSend for Upgrade<K, H> where
    K: Send + 'static,
    H: UpgradeInfoSend
[src]

impl<T> UpgradeInfoSend for T where
    T: UpgradeInfo + Send + 'static,
    <T as UpgradeInfo>::Info: Send,
    <T as UpgradeInfo>::Info: 'static,
    <<T as UpgradeInfo>::InfoIter as IntoIterator>::IntoIter: Send,
    <<T as UpgradeInfo>::InfoIter as IntoIterator>::IntoIter: 'static, 
[src]

Loading content...