pub struct FastQuery {
pub tls_0rtt: bool,
pub mechanisms: Vec<Mechanism>,
}
Expand description
This is the <fast/>
element sent by the server as a SASL2 inline feature.
Fields§
§tls_0rtt: bool
Whether TLS zero-roundtrip is possible.
mechanisms: Vec<Mechanism>
A list of <mechanism/>
elements, listing all server allowed mechanisms.
Trait Implementations§
Source§impl AsXml for FastQuery
impl AsXml for FastQuery
Source§impl FromXml for FastQuery
impl FromXml for FastQuery
Source§type Builder = FastQueryFromXmlBuilder
type Builder = FastQueryFromXmlBuilder
A builder type used to construct the element. Read more
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 FastQuery
impl TryFrom<Element> for FastQuery
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for FastQuery
Auto Trait Implementations§
impl Freeze for FastQuery
impl RefUnwindSafe for FastQuery
impl Send for FastQuery
impl Sync for FastQuery
impl Unpin for FastQuery
impl UnwindSafe for FastQuery
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