pub struct ScramUserCredentials { /* private fields */ }Expand description
Credentials and per-user outcome returned by DescribeUserScramCredentials.
Implementations§
Source§impl ScramUserCredentials
impl ScramUserCredentials
Sourcepub fn error_code(&self) -> i16
pub fn error_code(&self) -> i16
Returns the per-user Kafka error code.
Sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
Returns the per-user Kafka error message.
Sourcepub fn credentials(&self) -> &[ScramCredentialInfo]
pub fn credentials(&self) -> &[ScramCredentialInfo]
Returns the typed credentials reported for this user.
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns whether Kafka accepted this user’s describe result.
Sourcepub fn broker_error_kind(&self) -> Option<BrokerErrorKind>
pub fn broker_error_kind(&self) -> Option<BrokerErrorKind>
Returns the classified per-user broker error, when present.
Trait Implementations§
Source§impl Clone for ScramUserCredentials
impl Clone for ScramUserCredentials
Source§fn clone(&self) -> ScramUserCredentials
fn clone(&self) -> ScramUserCredentials
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScramUserCredentials
impl Debug for ScramUserCredentials
impl Eq for ScramUserCredentials
Source§impl PartialEq for ScramUserCredentials
impl PartialEq for ScramUserCredentials
impl StructuralPartialEq for ScramUserCredentials
Auto Trait Implementations§
impl Freeze for ScramUserCredentials
impl RefUnwindSafe for ScramUserCredentials
impl Send for ScramUserCredentials
impl Sync for ScramUserCredentials
impl Unpin for ScramUserCredentials
impl UnsafeUnpin for ScramUserCredentials
impl UnwindSafe for ScramUserCredentials
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