H3Connector

Trait H3Connector 

Source
pub trait H3Connector:
    Send
    + 'static
    + Clone {
    type CONN: Connection<Bytes, OpenStreams = Self::OS, SendStream = Self::SS, RecvStream = Self::RS> + Send;
    type OS: OpenStreams<Bytes, BidiStream = Self::BS> + Clone + Send;
    type SS: SendStream<Bytes> + Send;
    type RS: RecvStream + Send;
    type BS: BidiStream<Bytes, RecvStream = Self::RS, SendStream = Self::SS> + Send;

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

Required Associated Types§

Source

type CONN: Connection<Bytes, OpenStreams = Self::OS, SendStream = Self::SS, RecvStream = Self::RS> + Send

Source

type OS: OpenStreams<Bytes, BidiStream = Self::BS> + Clone + Send

Source

type SS: SendStream<Bytes> + Send

Source

type RS: RecvStream + Send

Source

type BS: BidiStream<Bytes, RecvStream = Self::RS, SendStream = Self::SS> + Send

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§