Function libp2p::core::transport::boxed::boxed[][src]

pub fn boxed<T>(
    transport: T
) -> Boxed<<T as Transport>::Output, <T as Transport>::Error> where
    T: Transport + Clone + Send + Sync + 'static,
    <T as Transport>::Dial: Send,
    <T as Transport>::Dial: 'static,
    <T as Transport>::Listener: Send,
    <T as Transport>::Listener: 'static,
    <T as Transport>::ListenerUpgrade: Send,
    <T as Transport>::ListenerUpgrade: 'static, 

See the Transport::boxed method.