Trait libp2p_swarm::protocols_handler::OutboundUpgradeSend [−][src]
Implemented automatically on all types that implement
OutboundUpgrade
and Send + 'static
.
Do not implement this trait yourself. Instead, please implement
OutboundUpgrade
.
Associated Types
type Output: Send + 'static
[src][−]
Equivalent to OutboundUpgrade::Output
.
type Error: Send + 'static
[src][−]
Equivalent to OutboundUpgrade::Error
.
type Future: Future<Output = Result<Self::Output, Self::Error>> + Send + 'static
[src][−]
Equivalent to OutboundUpgrade::Future
.
Required methods
fn upgrade_outbound(
self,
socket: NegotiatedSubstream,
info: Self::Info
) -> Self::Future
[src][−]
self,
socket: NegotiatedSubstream,
info: Self::Info
) -> Self::Future
Equivalent to OutboundUpgrade::upgrade_outbound
.
Implementors
impl<K, H> OutboundUpgradeSend for Upgrade<K, H> where
H: OutboundUpgradeSend,
K: Send + 'static,
[src][+]
H: OutboundUpgradeSend,
K: Send + 'static,
impl<T, TInfo> OutboundUpgradeSend for T where
T: OutboundUpgrade<NegotiatedSubstream, Info = TInfo> + UpgradeInfoSend<Info = TInfo>,
TInfo: ProtocolName + Clone + Send + 'static,
T::Output: Send + 'static,
T::Error: Send + 'static,
T::Future: Send + 'static,
[src][+]
T: OutboundUpgrade<NegotiatedSubstream, Info = TInfo> + UpgradeInfoSend<Info = TInfo>,
TInfo: ProtocolName + Clone + Send + 'static,
T::Output: Send + 'static,
T::Error: Send + 'static,
T::Future: Send + 'static,