[][src]Trait misskey::streaming::ConnectChannelRequest

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

    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: 'static + DeserializeOwned[src]

Type of the data we receive from the channel.

type Outgoing: 'static + Serialize[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 ConnectChannelRequest for Request[src]

type Incoming = AdminStreamEvent

type Outgoing = NoOutgoing

impl ConnectChannelRequest for Request[src]

impl ConnectChannelRequest for Request[src]

type Incoming = HomeTimelineEvent

type Outgoing = NoOutgoing

impl ConnectChannelRequest for Request[src]

type Incoming = ServerStatsEvent

type Outgoing = Message

impl ConnectChannelRequest for Request[src]

type Incoming = DriveStreamEvent

type Outgoing = NoOutgoing

impl ConnectChannelRequest for Request[src]

type Incoming = ChannelEvent

type Outgoing = NoOutgoing

impl ConnectChannelRequest for Request[src]

impl ConnectChannelRequest for Request[src]

impl ConnectChannelRequest for Request[src]

type Incoming = MessagingStreamEvent

type Outgoing = Message

impl ConnectChannelRequest for Request[src]

type Incoming = MainStreamEvent

type Outgoing = NoOutgoing

impl ConnectChannelRequest for Request[src]

type Incoming = HashtagEvent

type Outgoing = NoOutgoing

impl ConnectChannelRequest for Request[src]

type Incoming = QueueStatsEvent

type Outgoing = Message

impl ConnectChannelRequest for Request[src]

impl ConnectChannelRequest for Request[src]

impl ConnectChannelRequest for Request[src]

type Incoming = UserListEvent

type Outgoing = NoOutgoing

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

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

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

Loading content...

Implementors

Loading content...