pub enum IqResponse {
Result(Option<Element>),
Error(StanzaError),
}
Expand description
An IQ response payload
Variants§
Result(Option<Element>)
Payload for a type="result"
response.
Error(StanzaError)
Payload for a type="error"
response.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IqResponse
impl RefUnwindSafe for IqResponse
impl Send for IqResponse
impl Sync for IqResponse
impl Unpin for IqResponse
impl UnwindSafe for IqResponse
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