Enum xmpp_parsers::jingle::Transport
source · pub enum Transport {
IceUdp(Transport),
Ibb(Transport),
Socks5(Transport),
Unknown(Element),
}
Expand description
Enum wrapping all of the various supported transports of a Content.
Variants§
IceUdp(Transport)
Jingle ICE-UDP Bytestreams (XEP-0176) transport.
Ibb(Transport)
Jingle In-Band Bytestreams (XEP-0261) transport.
Socks5(Transport)
Jingle SOCKS5 Bytestreams (XEP-0260) transport.
Unknown(Element)
To be used for any transport that isn’t known at compile-time.
Trait Implementations§
source§impl From<Transport> for Transport
impl From<Transport> for Transport
source§fn from(transport: IbbTransport) -> Transport
fn from(transport: IbbTransport) -> Transport
Converts to this type from the input type.
source§impl From<Transport> for Transport
impl From<Transport> for Transport
source§fn from(transport: Socks5Transport) -> Transport
fn from(transport: Socks5Transport) -> Transport
Converts to this type from the input type.
source§impl From<Transport> for Transport
impl From<Transport> for Transport
source§fn from(transport: IceUdpTransport) -> Transport
fn from(transport: IceUdpTransport) -> Transport
Converts to this type from the input type.
source§impl PartialEq for Transport
impl PartialEq for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnwindSafe for Transport
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