Struct snmp_parser::snmp::SnmpGenericPdu
source · pub struct SnmpGenericPdu<'a> {
pub pdu_type: PduType,
pub req_id: u32,
pub err: ErrorStatus,
pub err_index: u32,
pub var: Vec<SnmpVariable<'a>>,
}
Fields§
§pdu_type: PduType
§req_id: u32
§err: ErrorStatus
§err_index: u32
§var: Vec<SnmpVariable<'a>>
Implementations§
source§impl<'a> SnmpGenericPdu<'a>
impl<'a> SnmpGenericPdu<'a>
pub fn vars_iter(&'a self) -> Iter<'_, SnmpVariable<'_>>
Trait Implementations§
source§impl<'a> Debug for SnmpGenericPdu<'a>
impl<'a> Debug for SnmpGenericPdu<'a>
source§impl<'a> PartialEq<SnmpGenericPdu<'a>> for SnmpGenericPdu<'a>
impl<'a> PartialEq<SnmpGenericPdu<'a>> for SnmpGenericPdu<'a>
source§fn eq(&self, other: &SnmpGenericPdu<'a>) -> bool
fn eq(&self, other: &SnmpGenericPdu<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.