pub trait ConnectChannelRequest: Serialize {
    type Incoming: 'static + DeserializeOwned;
    type Outgoing: 'static + Serialize;

    const NAME: &'static str;
}
Expand description

Request to connect to the channel.

It’s similar to Request but for connecting to a channel.

Required Associated Types

Type of the data we receive from the channel.

Type of the data we send to the channel.

Required Associated Constants

The name of the channel to be connected by this request.

Implementations on Foreign Types

Implementors