pub enum AuthErrorKind {
NoCredentials,
NoAuthKey,
NoUser,
HmacMismatch,
WrongMacLength {
expected: usize,
actual: usize,
},
AuthParamsNotFound,
}Expand description
Authentication error kinds (SNMPv3).
Variants§
NoCredentials
No credentials configured for this operation.
NoAuthKey
No authentication key available.
NoUser
User not found in USM table.
HmacMismatch
HMAC verification failed.
WrongMacLength
Authentication parameters wrong length.
AuthParamsNotFound
Could not locate auth params in message.
Trait Implementations§
Source§impl Clone for AuthErrorKind
impl Clone for AuthErrorKind
Source§fn clone(&self) -> AuthErrorKind
fn clone(&self) -> AuthErrorKind
Returns a duplicate 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 moreSource§impl Debug for AuthErrorKind
impl Debug for AuthErrorKind
Source§impl Display for AuthErrorKind
impl Display for AuthErrorKind
Source§impl PartialEq for AuthErrorKind
impl PartialEq for AuthErrorKind
impl Copy for AuthErrorKind
impl Eq for AuthErrorKind
impl StructuralPartialEq for AuthErrorKind
Auto Trait Implementations§
impl Freeze for AuthErrorKind
impl RefUnwindSafe for AuthErrorKind
impl Send for AuthErrorKind
impl Sync for AuthErrorKind
impl Unpin for AuthErrorKind
impl UnwindSafe for AuthErrorKind
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