pub struct SaslHandshakeRequestBuilder { /* private fields */ }
Expand description
Builder for SaslHandshakeRequest
.
Implementations§
source§impl SaslHandshakeRequestBuilder
impl SaslHandshakeRequestBuilder
sourcepub fn mechanism(&mut self, value: StrBytes) -> &mut Self
pub fn mechanism(&mut self, value: StrBytes) -> &mut Self
The SASL mechanism chosen by the client.
Supported API versions: 0-1
sourcepub fn build(
&self
) -> Result<SaslHandshakeRequest, SaslHandshakeRequestBuilderError>
pub fn build( &self ) -> Result<SaslHandshakeRequest, SaslHandshakeRequestBuilderError>
Trait Implementations§
source§impl Clone for SaslHandshakeRequestBuilder
impl Clone for SaslHandshakeRequestBuilder
source§fn clone(&self) -> SaslHandshakeRequestBuilder
fn clone(&self) -> SaslHandshakeRequestBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for SaslHandshakeRequestBuilder
impl Send for SaslHandshakeRequestBuilder
impl Sync for SaslHandshakeRequestBuilder
impl Unpin for SaslHandshakeRequestBuilder
impl UnwindSafe for SaslHandshakeRequestBuilder
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