pub enum JingleMI {
Propose {
sid: SessionId,
description: Element,
},
Retract(SessionId),
Accept(SessionId),
Proceed(SessionId),
Reject(SessionId),
}Expand description
Defines a protocol for broadcasting Jingle requests to all of the clients of a user.
Variants§
Propose
Indicates we want to start a Jingle session.
Fields
Retract(SessionId)
Cancels a previously proposed session.
Accept(SessionId)
Accepts a session proposed by the other party.
Proceed(SessionId)
Proceed with a previously proposed session.
Reject(SessionId)
Rejects a session proposed by the other party.
Trait Implementations§
Source§impl AsXml for JingleMI
impl AsXml for JingleMI
Source§type ItemIter<'xso_proc_as_xml_iter_lifetime> = JingleMIAsXmlIterator<'xso_proc_as_xml_iter_lifetime>
where
Self: 'xso_proc_as_xml_iter_lifetime
type ItemIter<'xso_proc_as_xml_iter_lifetime> = JingleMIAsXmlIterator<'xso_proc_as_xml_iter_lifetime> where Self: 'xso_proc_as_xml_iter_lifetime
The iterator type. Read more
Source§impl FromXml for JingleMI
impl FromXml for JingleMI
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self may be parsed from
a given XML element. Read moreAuto Trait Implementations§
impl Freeze for JingleMI
impl RefUnwindSafe for JingleMI
impl Send for JingleMI
impl Sync for JingleMI
impl Unpin for JingleMI
impl UnsafeUnpin for JingleMI
impl UnwindSafe for JingleMI
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