pub struct Failed {
pub h: Option<u32>,
pub error: Option<DefinedCondition>,
}
Expand description
A stream management error happened.
Fields§
§h: Option<u32>
The last handled stanza.
error: Option<DefinedCondition>
The error returned.
Trait Implementations§
Source§impl AsXml for Failed
impl AsXml for Failed
Source§impl FromXml for Failed
impl FromXml for Failed
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 moreSource§impl TryFrom<Element> for Failed
impl TryFrom<Element> for Failed
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Failed
Auto Trait Implementations§
impl Freeze for Failed
impl RefUnwindSafe for Failed
impl Send for Failed
impl Sync for Failed
impl Unpin for Failed
impl UnwindSafe for Failed
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