pub enum SecurityModel {
Any = 0,
V1 = 1,
V2c = 2,
Usm = 3,
}Expand description
Security model identifiers (RFC 3411).
Used to specify which SNMP version/security mechanism a mapping applies to.
Variants§
Any = 0
Wildcard for VACM matching (matches any model).
Use this when the same mapping should apply regardless of SNMP version.
V1 = 1
SNMPv1.
V2c = 2
SNMPv2c.
Usm = 3
SNMPv3 User-based Security Model.
Trait Implementations§
Source§impl Clone for SecurityModel
impl Clone for SecurityModel
Source§fn clone(&self) -> SecurityModel
fn clone(&self) -> SecurityModel
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 SecurityModel
impl Debug for SecurityModel
Source§impl Hash for SecurityModel
impl Hash for SecurityModel
Source§impl PartialEq for SecurityModel
impl PartialEq for SecurityModel
impl Copy for SecurityModel
impl Eq for SecurityModel
impl StructuralPartialEq for SecurityModel
Auto Trait Implementations§
impl Freeze for SecurityModel
impl RefUnwindSafe for SecurityModel
impl Send for SecurityModel
impl Sync for SecurityModel
impl Unpin for SecurityModel
impl UnsafeUnpin for SecurityModel
impl UnwindSafe for SecurityModel
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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