Trait xwt_core::session::stream::OpeningBi

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

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

Required Associated Types§

source

type Streams: PairSpec

source

type Error: Error + Send + Sync + 'static

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementors§