Struct snmp_parser::snmp::TrapType
[−]
[src]
pub struct TrapType(pub u8);
Methods
impl TrapType
[src]
pub const COLD_START: TrapType
COLD_START: TrapType = TrapType(0)
pub const WARM_START: TrapType
WARM_START: TrapType = TrapType(1)
pub const LINK_DOWN: TrapType
LINK_DOWN: TrapType = TrapType(2)
pub const LINK_UP: TrapType
LINK_UP: TrapType = TrapType(3)
pub const AUTHENTICATION_FAILURE: TrapType
AUTHENTICATION_FAILURE: TrapType = TrapType(4)
pub const EGP_NEIGHBOR_LOSS: TrapType
EGP_NEIGHBOR_LOSS: TrapType = TrapType(5)
pub const ENTERPRISE_SPECIFIC: TrapType
ENTERPRISE_SPECIFIC: TrapType = TrapType(6)
Trait Implementations
impl Clone for TrapType
[src]
fn clone(&self) -> TrapType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for TrapType
[src]
impl Eq for TrapType
[src]
impl PartialEq for TrapType
[src]
fn eq(&self, __arg_0: &TrapType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TrapType) -> bool
[src]
This method tests for !=
.