pub struct Failure {
pub defined_condition: DefinedCondition,
pub texts: BTreeMap<String, String>,
}
Expand description
Sent by the server on SASL failure.
Fields§
§defined_condition: DefinedCondition
One of the allowed defined-conditions for SASL.
texts: BTreeMap<String, String>
A human-readable explanation for the failure.
Trait Implementations§
Source§impl AsXml for Failure
impl AsXml for Failure
Source§impl FromXml for Failure
impl FromXml for Failure
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 Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnwindSafe for Failure
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