Enum rust_cast::channels::receiver::ReceiverResponse [] [src]

pub enum ReceiverResponse {
    Status(Status),
    LaunchError(LaunchError),
    InvalidRequest(InvalidRequest),
    NotImplemented(StringValue),
}

Represents all currently supported incoming messages that receiver channel can handle.

Variants

Status of the currently active receiver.

Error indicating that receiver failed to launch application.

Error indicating that request is not valid.

Used every time when channel can't parse the message. Associated data contains type string field and raw JSON data returned from cast device.

Trait Implementations

impl Debug for ReceiverResponse
[src]

[src]

Formats the value using the given formatter.