[][src]Trait misskey_core::streaming::ConnectChannelRequest

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

    pub const NAME: &'static str;
}

Request to connect to the channel.

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

Associated Types

type Incoming: DeserializeOwned + 'static[src]

Type of the data we receive from the channel.

type Outgoing: Serialize + 'static[src]

Type of the data we send to the channel.

Loading content...

Associated Constants

pub const NAME: &'static str[src]

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

Loading content...

Implementations on Foreign Types

impl<R: ?Sized, '_> ConnectChannelRequest for &'_ R where
    R: ConnectChannelRequest
[src]

type Incoming = R::Incoming

type Outgoing = R::Outgoing

impl<R: ?Sized, '_> ConnectChannelRequest for &'_ mut R where
    R: ConnectChannelRequest
[src]

type Incoming = R::Incoming

type Outgoing = R::Outgoing

impl<R: ?Sized> ConnectChannelRequest for Box<R> where
    R: ConnectChannelRequest
[src]

type Incoming = R::Incoming

type Outgoing = R::Outgoing

Loading content...

Implementors

Loading content...