pub struct UsmAuth {
pub username: String,
pub auth_protocol: Option<AuthProtocol>,
pub auth_password: Option<String>,
pub priv_protocol: Option<PrivProtocol>,
pub priv_password: Option<String>,
pub context_name: Option<String>,
pub master_keys: Option<MasterKeys>,
}Expand description
SNMPv3 USM authentication parameters.
Fields§
§username: StringSNMPv3 username
auth_protocol: Option<AuthProtocol>Authentication protocol (None for noAuthNoPriv)
auth_password: Option<String>Authentication password
priv_protocol: Option<PrivProtocol>Privacy protocol (None for noPriv)
priv_password: Option<String>Privacy password
context_name: Option<String>SNMPv3 context name for VACM context selection. Most deployments use empty string (default).
master_keys: Option<MasterKeys>Pre-computed master keys for caching. When set, passwords are ignored and keys are derived from master keys.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsmAuth
impl RefUnwindSafe for UsmAuth
impl Send for UsmAuth
impl Sync for UsmAuth
impl Unpin for UsmAuth
impl UnsafeUnpin for UsmAuth
impl UnwindSafe for UsmAuth
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more