Enum xmpp_parsers::jingle_s5b::Mode
source · pub enum Mode {
Tcp,
Udp,
}
Expand description
Which mode to use for the connection.
Variants§
Trait Implementations§
source§impl AsXmlText for Mode
impl AsXmlText for Mode
source§impl IntoAttributeValue for Mode
impl IntoAttributeValue for Mode
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 PartialEq for Mode
impl PartialEq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations§
§impl<T> AsOptionalXmlText for Twhere
T: AsXmlText,
impl<T> AsOptionalXmlText for Twhere
T: AsXmlText,
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
)