Struct snmp_parser::snmp::TrapType [] [src]

pub struct TrapType(pub u8);

Methods

impl TrapType
[src]

COLD_START: TrapType = TrapType(0)

WARM_START: TrapType = TrapType(1)
LINK_DOWN: TrapType = TrapType(2)
LINK_UP: TrapType = TrapType(3)

AUTHENTICATION_FAILURE: TrapType = TrapType(4)

EGP_NEIGHBOR_LOSS: TrapType = TrapType(5)

ENTERPRISE_SPECIFIC: TrapType = TrapType(6)

Trait Implementations

impl Clone for TrapType
[src]

[src]

Returns a copy of the value. Read more

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]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for TrapType
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for TrapType

impl Sync for TrapType