#[repr(u8)]pub enum PduType {
GetRequest = 160,
GetNextRequest = 161,
Response = 162,
SetRequest = 163,
TrapV1 = 164,
GetBulkRequest = 165,
InformRequest = 166,
TrapV2 = 167,
Report = 168,
}Expand description
PDU type tag.
Variants§
GetRequest = 160
GET request - retrieve specific OID values.
GetNextRequest = 161
GET-NEXT request - retrieve the next OID in the MIB tree.
Response = 162
Response to a request from an agent.
SetRequest = 163
SET request - modify OID values.
TrapV1 = 164
SNMPv1 trap - unsolicited notification from an agent.
GetBulkRequest = 165
GET-BULK request - efficient bulk retrieval of table data.
InformRequest = 166
INFORM request - acknowledged notification.
TrapV2 = 167
SNMPv2c/v3 trap - unsolicited notification from an agent.
Report = 168
Report - used in SNMPv3 for engine discovery and error reporting.
Implementations§
Trait Implementations§
impl Copy for PduType
impl Eq for PduType
impl StructuralPartialEq for PduType
Auto Trait Implementations§
impl Freeze for PduType
impl RefUnwindSafe for PduType
impl Send for PduType
impl Sync for PduType
impl Unpin for PduType
impl UnwindSafe for PduType
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