pub enum PhoneConnection {
PhoneConnection(PhoneConnection),
Webrtc(PhoneConnectionWebrtc),
}Expand description
Variants§
PhoneConnection(PhoneConnection)
Webrtc(PhoneConnectionWebrtc)
Trait Implementations§
Source§impl Clone for PhoneConnection
impl Clone for PhoneConnection
Source§fn clone(&self) -> PhoneConnection
fn clone(&self) -> PhoneConnection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PhoneConnection
impl Debug for PhoneConnection
Source§impl Deserializable for PhoneConnection
impl Deserializable for PhoneConnection
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<PhoneConnection> for PhoneConnection
impl From<PhoneConnection> for PhoneConnection
Source§fn from(x: PhoneConnection) -> Self
fn from(x: PhoneConnection) -> Self
Converts to this type from the input type.
Source§impl From<PhoneConnectionWebrtc> for PhoneConnection
impl From<PhoneConnectionWebrtc> for PhoneConnection
Source§fn from(x: PhoneConnectionWebrtc) -> Self
fn from(x: PhoneConnectionWebrtc) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PhoneConnection
impl PartialEq for PhoneConnection
Source§impl Serializable for PhoneConnection
impl Serializable for PhoneConnection
Source§impl TryFrom<PhoneConnection> for PhoneConnection
impl TryFrom<PhoneConnection> for PhoneConnection
Source§type Error = PhoneConnection
type Error = PhoneConnection
The type returned in the event of a conversion error.
Source§impl TryFrom<PhoneConnection> for PhoneConnectionWebrtc
impl TryFrom<PhoneConnection> for PhoneConnectionWebrtc
Source§type Error = PhoneConnection
type Error = PhoneConnection
The type returned in the event of a conversion error.
impl StructuralPartialEq for PhoneConnection
Auto Trait Implementations§
impl Freeze for PhoneConnection
impl RefUnwindSafe for PhoneConnection
impl Send for PhoneConnection
impl Sync for PhoneConnection
impl Unpin for PhoneConnection
impl UnsafeUnpin for PhoneConnection
impl UnwindSafe for PhoneConnection
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