pub enum IqPayload {
Get(Element),
Set(Element),
Result(Option<Element>),
Error(StanzaError),
}Expand description
Payload of an IQ stanza, by type.
Variants§
Get(Element)
Payload of a type=‘get’ stanza.
Set(Element)
Payload of a type=‘set’ stanza.
Result(Option<Element>)
Payload of a type=‘result’ stanza.
Error(StanzaError)
The error carried in a type=‘error’ stanza.
Implementations§
Auto Trait Implementations§
impl Freeze for IqPayload
impl RefUnwindSafe for IqPayload
impl Send for IqPayload
impl Sync for IqPayload
impl Unpin for IqPayload
impl UnsafeUnpin for IqPayload
impl UnwindSafe for IqPayload
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