pub enum PhoneCall {
Empty(PhoneCallEmpty),
Waiting(PhoneCallWaiting),
Requested(PhoneCallRequested),
Accepted(PhoneCallAccepted),
PhoneCall(PhoneCall),
Discarded(PhoneCallDiscarded),
}Expand description
Variants§
Empty(PhoneCallEmpty)
Waiting(PhoneCallWaiting)
Requested(PhoneCallRequested)
Accepted(PhoneCallAccepted)
PhoneCall(PhoneCall)
Discarded(PhoneCallDiscarded)
Trait Implementations§
Source§impl Deserializable for PhoneCall
impl Deserializable for PhoneCall
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<PhoneCallAccepted> for PhoneCall
impl From<PhoneCallAccepted> for PhoneCall
Source§fn from(x: PhoneCallAccepted) -> Self
fn from(x: PhoneCallAccepted) -> Self
Converts to this type from the input type.
Source§impl From<PhoneCallDiscarded> for PhoneCall
impl From<PhoneCallDiscarded> for PhoneCall
Source§fn from(x: PhoneCallDiscarded) -> Self
fn from(x: PhoneCallDiscarded) -> Self
Converts to this type from the input type.
Source§impl From<PhoneCallEmpty> for PhoneCall
impl From<PhoneCallEmpty> for PhoneCall
Source§fn from(x: PhoneCallEmpty) -> Self
fn from(x: PhoneCallEmpty) -> Self
Converts to this type from the input type.
Source§impl From<PhoneCallRequested> for PhoneCall
impl From<PhoneCallRequested> for PhoneCall
Source§fn from(x: PhoneCallRequested) -> Self
fn from(x: PhoneCallRequested) -> Self
Converts to this type from the input type.
Source§impl From<PhoneCallWaiting> for PhoneCall
impl From<PhoneCallWaiting> for PhoneCall
Source§fn from(x: PhoneCallWaiting) -> Self
fn from(x: PhoneCallWaiting) -> Self
Converts to this type from the input type.
Source§impl Serializable for PhoneCall
impl Serializable for PhoneCall
Source§impl TryFrom<PhoneCall> for PhoneCallAccepted
impl TryFrom<PhoneCall> for PhoneCallAccepted
Source§impl TryFrom<PhoneCall> for PhoneCallDiscarded
impl TryFrom<PhoneCall> for PhoneCallDiscarded
Source§impl TryFrom<PhoneCall> for PhoneCallEmpty
impl TryFrom<PhoneCall> for PhoneCallEmpty
Source§impl TryFrom<PhoneCall> for PhoneCallRequested
impl TryFrom<PhoneCall> for PhoneCallRequested
Source§impl TryFrom<PhoneCall> for PhoneCallWaiting
impl TryFrom<PhoneCall> for PhoneCallWaiting
impl StructuralPartialEq for PhoneCall
Auto Trait Implementations§
impl Freeze for PhoneCall
impl RefUnwindSafe for PhoneCall
impl Send for PhoneCall
impl Sync for PhoneCall
impl Unpin for PhoneCall
impl UnsafeUnpin for PhoneCall
impl UnwindSafe for PhoneCall
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