Function libp2p_core::transport::boxed::boxed [−][src]
pub fn boxed<T>(transport: T) -> Boxed<T::Output, T::Error> where
T: Transport + Clone + Send + Sync + 'static,
T::Dial: Send + 'static,
T::Listener: Send + 'static,
T::ListenerUpgrade: Send + 'static,
See the Transport::boxed
method.