pub struct AuthenticationSASLBuilder<MECHANISMS = ZTArray<'static, ZTString<'static>>>{
pub mechanisms: MECHANISMS,
}Fields§
§mechanisms: MECHANISMSList of SASL authentication mechanisms, terminated by a zero byte.
Trait Implementations§
Source§impl<MECHANISMS> BuilderFor for AuthenticationSASLBuilder<MECHANISMS>
impl<MECHANISMS> BuilderFor for AuthenticationSASLBuilder<MECHANISMS>
type Message = AuthenticationSASL<'static>
Source§impl<MECHANISMS> Debug for AuthenticationSASLBuilder<MECHANISMS>
impl<MECHANISMS> Debug for AuthenticationSASLBuilder<MECHANISMS>
Source§impl<MECHANISMS> Default for AuthenticationSASLBuilder<MECHANISMS>
impl<MECHANISMS> Default for AuthenticationSASLBuilder<MECHANISMS>
Source§fn default() -> AuthenticationSASLBuilder<MECHANISMS>
fn default() -> AuthenticationSASLBuilder<MECHANISMS>
Returns the “default value” for a type. Read more
Source§impl<MECHANISMS> EncoderFor<AuthenticationSASL<'static>> for &AuthenticationSASLBuilder<MECHANISMS>
impl<MECHANISMS> EncoderFor<AuthenticationSASL<'static>> for &AuthenticationSASLBuilder<MECHANISMS>
fn encode_for(&self, buf: &mut BufWriter<'_>)
Source§impl<MECHANISMS> EncoderFor<AuthenticationSASL<'static>> for AuthenticationSASLBuilder<MECHANISMS>
impl<MECHANISMS> EncoderFor<AuthenticationSASL<'static>> for AuthenticationSASLBuilder<MECHANISMS>
fn encode_for(&self, buf: &mut BufWriter<'_>)
Auto Trait Implementations§
impl<MECHANISMS> Freeze for AuthenticationSASLBuilder<MECHANISMS>where
MECHANISMS: Freeze,
impl<MECHANISMS> RefUnwindSafe for AuthenticationSASLBuilder<MECHANISMS>where
MECHANISMS: RefUnwindSafe,
impl<MECHANISMS> Send for AuthenticationSASLBuilder<MECHANISMS>where
MECHANISMS: Send,
impl<MECHANISMS> Sync for AuthenticationSASLBuilder<MECHANISMS>where
MECHANISMS: Sync,
impl<MECHANISMS> Unpin for AuthenticationSASLBuilder<MECHANISMS>where
MECHANISMS: Unpin,
impl<MECHANISMS> UnwindSafe for AuthenticationSASLBuilder<MECHANISMS>where
MECHANISMS: 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.