pub struct Auth {
pub mechanism: Mechanism,
pub data: Vec<u8>,
}
Expand description
The first step of the SASL process, selecting the mechanism and sending the first part of the handshake.
Fields§
§mechanism: Mechanism
The mechanism used.
data: Vec<u8>
The content of the handshake.
Trait Implementations§
Source§impl TryFrom<Element> for Auth
impl TryFrom<Element> for Auth
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Auth
Auto Trait Implementations§
impl Freeze for Auth
impl RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnwindSafe for Auth
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