[][src]Enum twilight_lavalink::client::ClientError

pub enum ClientError {
    NodesUnconfigured,
    SendingVoiceUpdate {
        source: TrySendError<OutgoingEvent>,
    },
}

An error that can occur while interacting with the client.

Variants

NodesUnconfigured

A node isn't configured, so the operation isn't possible to fulfill.

SendingVoiceUpdate

Sending a voice update event to the node failed because the node's connection was shutdown.

Fields of SendingVoiceUpdate

source: TrySendError<OutgoingEvent>

The source of the error.

Trait Implementations

impl Clone for ClientError[src]

impl Debug for ClientError[src]

impl Display for ClientError[src]

impl Error for ClientError[src]

impl PartialEq<ClientError> for ClientError[src]

impl StructuralPartialEq for ClientError[src]

Auto Trait Implementations

impl RefUnwindSafe for ClientError

impl Send for ClientError

impl Sync for ClientError

impl Unpin for ClientError

impl UnwindSafe for ClientError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,