Trait xwt_core::traits::OpenUniStream

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

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

Required Associated Types§

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementors§