#[non_exhaustive]pub enum SipTransport {
Udp,
Tcp,
Tls,
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Udp
udp
Tcp
tcp
Tls
tls
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for SipTransport
impl Clone for SipTransport
Source§impl Debug for SipTransport
impl Debug for SipTransport
Source§impl<'de> Deserialize<'de> for SipTransport
impl<'de> Deserialize<'de> for SipTransport
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
Source§impl Display for SipTransport
impl Display for SipTransport
impl Eq for SipTransport
Source§impl PartialEq for SipTransport
impl PartialEq for SipTransport
Source§impl Serialize for SipTransport
impl Serialize for SipTransport
impl StructuralPartialEq for SipTransport
Auto Trait Implementations§
impl Freeze for SipTransport
impl RefUnwindSafe for SipTransport
impl Send for SipTransport
impl Sync for SipTransport
impl Unpin for SipTransport
impl UnsafeUnpin for SipTransport
impl UnwindSafe for SipTransport
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