[−][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: ProtocolName + Clone + Send + 'static
Equivalent to UpgradeInfo::Info
.
type InfoIter: Iterator<Item = Self::Info> + Send + 'static
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::Info>
type InfoIter = IntoIter<Self::Info>
fn protocol_info(&self) -> Self::InfoIter
[src]
impl<T> UpgradeInfoSend for T where
T: UpgradeInfo + Send + 'static,
T::Info: Send + 'static,
<T::InfoIter as IntoIterator>::IntoIter: Send + 'static,
[src]
T: UpgradeInfo + Send + 'static,
T::Info: Send + 'static,
<T::InfoIter as IntoIterator>::IntoIter: Send + 'static,