pub enum CallState {
Pending(CallStatePending),
ExchangingKeys,
Ready(CallStateReady),
HangingUp,
Discarded(CallStateDiscarded),
Error(CallStateError),
}
Variants§
Pending(CallStatePending)
The call is pending, waiting to be accepted by a user
ExchangingKeys
The call has been answered and encryption keys are being exchanged
Ready(CallStateReady)
The call is ready to use
HangingUp
The call is hanging up after discardCall has been called
Discarded(CallStateDiscarded)
The call has ended successfully
Error(CallStateError)
The call has ended with an error
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
impl StructuralPartialEq for CallState
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