pub struct AuthenticationSaslBody(/* private fields */);Expand description
SASL authentication body.
Contains a list of supported SASL authentication mechanisms, each as a null-terminated string. The list ends with a double null.
Implementations§
Source§impl AuthenticationSaslBody
impl AuthenticationSaslBody
Sourcepub fn mechanisms(&self) -> SaslMechanisms<'_> ⓘ
pub fn mechanisms(&self) -> SaslMechanisms<'_> ⓘ
Returns an iterator over the available SASL mechanisms.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for AuthenticationSaslBody
impl RefUnwindSafe for AuthenticationSaslBody
impl Send for AuthenticationSaslBody
impl Sync for AuthenticationSaslBody
impl Unpin for AuthenticationSaslBody
impl UnsafeUnpin for AuthenticationSaslBody
impl UnwindSafe for AuthenticationSaslBody
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request