Trait xwt_core::traits::OpeningUniStream

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

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

Required Associated Types§

source

type Streams: Streams

source

type Error: Error + Send + Sync + 'static

Required Methods§

source

fn wait_uni( self ) -> impl Future<Output = Result<<Self::Streams as Streams>::SendStream, Self::Error>> + Send

Object Safety§

This trait is not object safe.

Implementors§