Enum twilight_lavalink::model::incoming::IncomingEvent[][src]

#[non_exhaustive]pub enum IncomingEvent {

An incoming event from a Lavalink node.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

An update about the information of a player.


New statistics about a node and its host.


A track ended.


A track started.

Trait Implementations

impl Clone for IncomingEvent[src]

impl Debug for IncomingEvent[src]

impl<'de> Deserialize<'de> for IncomingEvent[src]

impl From<PlayerUpdate> for IncomingEvent[src]

impl From<Stats> for IncomingEvent[src]

impl PartialEq<IncomingEvent> for IncomingEvent[src]

impl Serialize for IncomingEvent[src]

impl StructuralPartialEq for IncomingEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for IncomingEvent

impl Send for IncomingEvent

impl Sync for IncomingEvent

impl Unpin for IncomingEvent

impl UnwindSafe for IncomingEvent

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,