[−][src]Trait libp2p::swarm::protocols_handler::UpgradeInfoSend
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 + Clone + Send + ProtocolName
Equivalent to UpgradeInfo::Info
.
type InfoIter: 'static + Send + Iterator
Equivalent to UpgradeInfo::InfoIter
.
Required methods
fn protocol_info(&self) -> Self::InfoIter
Equivalent to UpgradeInfo::protocol_info
.
Implementors
impl<K, H> UpgradeInfoSend for Upgrade<K, H> where
H: UpgradeInfoSend,
K: Send + 'static,
[src]
H: UpgradeInfoSend,
K: Send + 'static,
type Info = IndexedProtoName<<H as UpgradeInfoSend>::Info>
type InfoIter = IntoIter<<Upgrade<K, H> as UpgradeInfoSend>::Info>
fn protocol_info(&self) -> <Upgrade<K, H> as UpgradeInfoSend>::InfoIter
[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]
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,