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 (e.g. because of unknown
namespace
).
Auto Trait Implementations
impl Send for ChannelMessage
impl Send for ChannelMessage
impl Sync for ChannelMessage
impl Sync for ChannelMessage