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 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