Enum rust_cast::ChannelMessage [] [src]

pub enum ChannelMessage {
    Connection(ConnectionResponse),
    Heartbeat(HeartbeatResponse),
    Media(MediaResponse),
    Receiver(ReceiverResponse),
    Raw(CastMessage),
}

Supported channel message types.

Variants

Connection(ConnectionResponse)

Message to be processed by ConnectionChannel.

Heartbeat(HeartbeatResponse)

Message to be processed by HeartbeatChannel.

Media(MediaResponse)

Message to be processed by MediaChannel.

Receiver(ReceiverResponse)

Message to be processed by ReceiverChannel.

Raw(CastMessage)

Raw message is returned when built-in channels can't process it (eg. because of unknown namespace).