Enum rust_tdlib::types::CallState [−][src]
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
fn 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 UnwindSafe for CallState
Blanket Implementations
Mutably borrows from an owned value. Read more