Struct snmp_parser::snmpv3::SecurityModel
source · pub struct SecurityModel(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl SecurityModel
impl SecurityModel
pub const SnmpV1: SecurityModel = _
pub const SnmpV2c: SecurityModel = _
pub const USM: SecurityModel = _
Trait Implementations§
source§impl Clone for SecurityModel
impl Clone for SecurityModel
source§fn clone(&self) -> SecurityModel
fn clone(&self) -> SecurityModel
Returns a copy 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<'a> FromBer<'a, Error> for SecurityModel
impl<'a> FromBer<'a, Error> for SecurityModel
source§fn from_ber(bytes: &'a [u8]) -> ParseResult<'a, Self>
fn from_ber(bytes: &'a [u8]) -> ParseResult<'a, Self>
Attempt to parse input bytes into a BER object
source§impl PartialEq<SecurityModel> for SecurityModel
impl PartialEq<SecurityModel> for SecurityModel
source§fn eq(&self, other: &SecurityModel) -> bool
fn eq(&self, other: &SecurityModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.