Enum xmpp_parsers::jingle_dtls_srtp::Setup
source · pub enum Setup {
Active,
Passive,
Actpass,
}
Expand description
Indicates which of the end points should initiate the TCP connection establishment.
Variants§
Active
The endpoint will initiate an outgoing connection.
Passive
The endpoint will accept an incoming connection.
Actpass
The endpoint is willing to accept an incoming connection or to initiate an outgoing connection.
Trait Implementations§
source§impl FromXmlText for Setup
impl FromXmlText for Setup
source§impl IntoAttributeValue for Setup
impl IntoAttributeValue for Setup
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 Setup
impl IntoXmlText for Setup
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 Setup
impl PartialEq for Setup
impl StructuralPartialEq for Setup
Auto Trait Implementations§
impl Freeze for Setup
impl RefUnwindSafe for Setup
impl Send for Setup
impl Sync for Setup
impl Unpin for Setup
impl UnwindSafe for Setup
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> FromOptionalXmlText for Twhere
T: FromXmlText,
impl<T> FromOptionalXmlText for Twhere
T: FromXmlText,
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