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§
Source§impl<'de> Deserialize<'de> for CallState
impl<'de> Deserialize<'de> for CallState
Source§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 Freeze for CallState
impl RefUnwindSafe for CallState
impl Send for CallState
impl Sync for CallState
impl Unpin for CallState
impl UnwindSafe for CallState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more