[][src]Enum ruma_events::call::hangup::Reason

pub enum Reason {
    IceFailed,
    InviteTimeout,
}

A reason for a hangup.

This should not be provided when the user naturally ends or rejects the call. When there was an error in the call negotiation, this should be ice_failed for when ICE negotiation fails or invite_timeout for when the other party did not answer in time.

Variants

IceFailed

ICE negotiation failure.

InviteTimeout

Party did not answer in time.

Trait Implementations

impl Clone for Reason[src]

impl Copy for Reason[src]

impl Debug for Reason[src]

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

impl Display for Reason[src]

impl FromStr for Reason[src]

type Err = FromStrError

The associated error which can be returned from parsing.

impl PartialEq<Reason> for Reason[src]

impl Serialize for Reason[src]

impl StructuralPartialEq for Reason[src]

Auto Trait Implementations

impl RefUnwindSafe for Reason

impl Send for Reason

impl Sync for Reason

impl Unpin for Reason

impl UnwindSafe for Reason

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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