[][src]Function libp2p_core::transport::boxed::boxed

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.