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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoOptionalXmlText for Twhere
T: IntoXmlText,
impl<T> IntoOptionalXmlText for Twhere
T: IntoXmlText,
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more