pub enum CommandResponse {
    ChannelList {
        channels: Channel,
    },
    DeafenStatus {
        is_deafened: bool,
    },
    Event {
        event: MumbleEvent,
    },
    MuteStatus {
        is_muted: bool,
    },
    PastMessage {
        message: (NaiveDateTime, String, String),
    },
    Pong,
    ServerConnect {
        welcome_message: Option<String>,
        server_state: Server,
    },
    ServerStatus {
        version: u32,
        users: u32,
        max_users: u32,
        bandwidth: u32,
    },
    Status {
        server_state: Server,
    },
}
Expand description

A response to a sent Command.

Variants

ChannelList

Fields

channels: Channel

DeafenStatus

Fields

is_deafened: bool

Event

Fields

event: MumbleEvent

MuteStatus

Fields

is_muted: bool

PastMessage

Fields

Pong

ServerConnect

Fields

welcome_message: Option<String>
server_state: Server

ServerStatus

Fields

version: u32
users: u32
max_users: u32
bandwidth: u32

Status

Fields

server_state: Server

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.