Enum tokio_xmpp::xmlstream::XmppStreamElement
source · pub enum XmppStreamElement {
Iq(Iq),
Message(Message),
Presence(Presence),
Sasl(Nonza),
Starttls(Nonza),
ComponentHandshake(Handshake),
}
Expand description
Any valid XMPP stream-level element.
Variants§
Iq(Iq)
IQ stanza
Message(Message)
Message stanza
Presence(Presence)
Presence stanza
Sasl(Nonza)
SASL-related nonza
Starttls(Nonza)
STARTTLS-related nonza
ComponentHandshake(Handshake)
Component protocol nonzas
Trait Implementations§
source§impl AsXml for XmppStreamElement
impl AsXml for XmppStreamElement
source§impl Debug for XmppStreamElement
impl Debug for XmppStreamElement
source§impl From<Stanza> for XmppStreamElement
impl From<Stanza> for XmppStreamElement
source§impl From<XmppStreamElement> for Element
impl From<XmppStreamElement> for Element
source§fn from(other: XmppStreamElement) -> Self
fn from(other: XmppStreamElement) -> Self
Converts to this type from the input type.
source§impl FromXml for XmppStreamElement
impl FromXml for XmppStreamElement
Auto Trait Implementations§
impl Freeze for XmppStreamElement
impl RefUnwindSafe for XmppStreamElement
impl Send for XmppStreamElement
impl Sync for XmppStreamElement
impl Unpin for XmppStreamElement
impl UnwindSafe for XmppStreamElement
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