pub struct AuthenticationSASLInitialResponseBuilder<METHOD = LString<'static>, SASL_DATA = Array<'static, u32, u8>>{
pub method: METHOD,
pub sasl_data: SASL_DATA,
}
Fields§
§method: METHOD
Name of the SASL authentication mechanism that the client selected.
sasl_data: SASL_DATA
Mechanism-specific “Initial Response” data.
Trait Implementations§
Source§impl<METHOD, SASL_DATA> BuilderFor for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
impl<METHOD, SASL_DATA> BuilderFor for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
type Message = AuthenticationSASLInitialResponse<'static>
Source§impl<METHOD, SASL_DATA> Debug for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>where
METHOD: EncoderFor<LString<'static>> + Debug,
SASL_DATA: EncoderFor<Array<'static, u32, u8>> + Debug,
impl<METHOD, SASL_DATA> Debug for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>where
METHOD: EncoderFor<LString<'static>> + Debug,
SASL_DATA: EncoderFor<Array<'static, u32, u8>> + Debug,
Source§impl<METHOD, SASL_DATA> Default for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>where
METHOD: EncoderFor<LString<'static>> + Default,
SASL_DATA: EncoderFor<Array<'static, u32, u8>> + Default,
impl<METHOD, SASL_DATA> Default for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>where
METHOD: EncoderFor<LString<'static>> + Default,
SASL_DATA: EncoderFor<Array<'static, u32, u8>> + Default,
Source§fn default() -> AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
fn default() -> AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
Returns the “default value” for a type. Read more
Source§impl<METHOD, SASL_DATA> EncoderFor<AuthenticationSASLInitialResponse<'static>> for &AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
impl<METHOD, SASL_DATA> EncoderFor<AuthenticationSASLInitialResponse<'static>> for &AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
fn encode_for(&self, buf: &mut BufWriter<'_>)
Source§impl<METHOD, SASL_DATA> EncoderFor<AuthenticationSASLInitialResponse<'static>> for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
impl<METHOD, SASL_DATA> EncoderFor<AuthenticationSASLInitialResponse<'static>> for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
fn encode_for(&self, buf: &mut BufWriter<'_>)
Auto Trait Implementations§
impl<METHOD, SASL_DATA> Freeze for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
impl<METHOD, SASL_DATA> RefUnwindSafe for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>where
METHOD: RefUnwindSafe,
SASL_DATA: RefUnwindSafe,
impl<METHOD, SASL_DATA> Send for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
impl<METHOD, SASL_DATA> Sync for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
impl<METHOD, SASL_DATA> Unpin for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>
impl<METHOD, SASL_DATA> UnwindSafe for AuthenticationSASLInitialResponseBuilder<METHOD, SASL_DATA>where
METHOD: UnwindSafe,
SASL_DATA: UnwindSafe,
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
Source§impl<T> EncoderForExt for Twhere
T: ?Sized,
impl<T> EncoderForExt for Twhere
T: ?Sized,
Source§fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
Convert this builder into a vector of bytes. This is generally
not the most efficient way to perform serialization.
Source§fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.
Source§fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.