pub trait AcceptUniStream: Streams {
    type Error: Error + Send + Sync + 'static;

    // Required method
    fn accept_uni<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Self::RecvStream, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

source

type Error: Error + Send + Sync + 'static

Required Methods§

source

fn accept_uni<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<Self::RecvStream, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§