Trait xwt_core::session::stream::AcceptUni

source ·
pub trait AcceptUni: RecvSpec {
    type Error: Error + Send + Sync + 'static;

    // Required method
    fn accept_uni(
        &self,
    ) -> impl Future<Output = Result<Self::RecvStream, Self::Error>> + Send;
}

Required Associated Types§

source

type Error: Error + Send + Sync + 'static

Required Methods§

source

fn accept_uni( &self, ) -> impl Future<Output = Result<Self::RecvStream, Self::Error>> + Send

Object Safety§

This trait is not object safe.

Implementors§