Enum xmpp_parsers::extdisco::Transport
source · pub enum Transport {
Tcp,
Udp,
}
Expand description
The underlying transport protocol to be used when communicating with the service.
Variants§
Trait Implementations§
source§impl FromXmlText for Transport
impl FromXmlText for Transport
source§impl IntoAttributeValue for Transport
impl IntoAttributeValue for Transport
source§fn into_attribute_value(self) -> Option<String>
fn into_attribute_value(self) -> Option<String>
Turns this into an attribute string, or None if it shouldn’t be added.
source§impl IntoXmlText for Transport
impl IntoXmlText for Transport
source§fn into_xml_text(self) -> String
fn into_xml_text(self) -> String
Consume the value and return it as XML string.
source§impl PartialEq for Transport
impl PartialEq for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
impl Freeze for Transport
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