Trait xwt_core::session::stream::AcceptBi

source ·
pub trait AcceptBi: PairSpec {
    type Error: Error + Send + Sync + 'static;

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

Required Associated Types§

source

type Error: Error + Send + Sync + 'static

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementors§