[][src]Enum rtdlib::types::CallProblem

pub enum CallProblem {
    Echo(CallProblemEcho),
    Noise(CallProblemNoise),
    Interruptions(CallProblemInterruptions),
    DistortedSpeech(CallProblemDistortedSpeech),
    SilentLocal(CallProblemSilentLocal),
    SilentRemote(CallProblemSilentRemote),
    Dropped(CallProblemDropped),
    // some variants omitted
}

Describes the exact type of a problem with a call

Variants

The user heard their own voice

The user heard background noise

The other side kept disappearing

The speech was distorted

The user couldn't hear the other side

The other side couldn't hear the user

The call ended unexpectedly

Methods

impl CallProblem[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn is_echo(&self) -> bool[src]

pub fn is_noise(&self) -> bool[src]

pub fn is_interruptions(&self) -> bool[src]

pub fn is_distorted_speech(&self) -> bool[src]

pub fn is_silent_local(&self) -> bool[src]

pub fn is_silent_remote(&self) -> bool[src]

pub fn is_dropped(&self) -> bool[src]

pub fn on_echo<F: FnOnce(&CallProblemEcho)>(&self, fnc: F) -> &Self[src]

pub fn on_noise<F: FnOnce(&CallProblemNoise)>(&self, fnc: F) -> &Self[src]

pub fn on_interruptions<F: FnOnce(&CallProblemInterruptions)>(
    &self,
    fnc: F
) -> &Self
[src]

pub fn on_distorted_speech<F: FnOnce(&CallProblemDistortedSpeech)>(
    &self,
    fnc: F
) -> &Self
[src]

pub fn on_silent_local<F: FnOnce(&CallProblemSilentLocal)>(
    &self,
    fnc: F
) -> &Self
[src]

pub fn on_silent_remote<F: FnOnce(&CallProblemSilentRemote)>(
    &self,
    fnc: F
) -> &Self
[src]

pub fn on_dropped<F: FnOnce(&CallProblemDropped)>(&self, fnc: F) -> &Self[src]

pub fn as_echo(&self) -> Option<&CallProblemEcho>[src]

pub fn as_noise(&self) -> Option<&CallProblemNoise>[src]

pub fn as_interruptions(&self) -> Option<&CallProblemInterruptions>[src]

pub fn as_distorted_speech(&self) -> Option<&CallProblemDistortedSpeech>[src]

pub fn as_silent_local(&self) -> Option<&CallProblemSilentLocal>[src]

pub fn as_silent_remote(&self) -> Option<&CallProblemSilentRemote>[src]

pub fn as_dropped(&self) -> Option<&CallProblemDropped>[src]

pub fn echo<T: AsRef<CallProblemEcho>>(t: T) -> Self[src]

pub fn noise<T: AsRef<CallProblemNoise>>(t: T) -> Self[src]

pub fn interruptions<T: AsRef<CallProblemInterruptions>>(t: T) -> Self[src]

pub fn distorted_speech<T: AsRef<CallProblemDistortedSpeech>>(t: T) -> Self[src]

pub fn silent_local<T: AsRef<CallProblemSilentLocal>>(t: T) -> Self[src]

pub fn silent_remote<T: AsRef<CallProblemSilentRemote>>(t: T) -> Self[src]

pub fn dropped<T: AsRef<CallProblemDropped>>(t: T) -> Self[src]

Trait Implementations

impl AsRef<CallProblem> for CallProblem[src]

impl Clone for CallProblem[src]

impl Debug for CallProblem[src]

impl Default for CallProblem[src]

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

impl RObject for CallProblem[src]

impl Serialize for CallProblem[src]

Auto Trait Implementations

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