Enum rust_tdlib::types::CallState
source · [−]pub enum CallState {
Discarded(CallStateDiscarded),
Error(CallStateError),
ExchangingKeys(CallStateExchangingKeys),
HangingUp(CallStateHangingUp),
Pending(CallStatePending),
Ready(CallStateReady),
// some variants omitted
}
Expand description
Describes the current call state
Variants
Discarded(CallStateDiscarded)
The call has ended successfully
Error(CallStateError)
The call has ended with an error
ExchangingKeys(CallStateExchangingKeys)
The call has been answered and encryption keys are being exchanged
HangingUp(CallStateHangingUp)
The call is hanging up after discardCall has been called
Pending(CallStatePending)
The call is pending, waiting to be accepted by a user
Ready(CallStateReady)
The call is ready to use
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for CallState
impl<'de> Deserialize<'de> for CallState
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CallState
impl Send for CallState
impl Sync for CallState
impl Unpin for CallState
impl UnwindSafe for CallState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more