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