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 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