Trait xwt_core::session::stream::OpenUni

source ·
pub trait OpenUni: SendSpec {
    type Opening: OpeningUni;
    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§