Trait rsocket_rust::prelude::Transport[][src]

pub trait Transport {
    type Conn: Connection + Send;
    #[must_use]
    fn connect<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Conn>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

Associated Types

Loading content...

Required methods

#[must_use]
fn connect<'async_trait>(
    self
) -> Pin<Box<dyn Future<Output = Result<Self::Conn>> + Send + 'async_trait>> where
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...