Struct snmp_parser::snmp::SnmpGenericPdu
[−]
[src]
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>>
Methods
impl<'a> SnmpGenericPdu<'a>
[src]
pub fn vars_iter(&'a self) -> Iter<SnmpVariable>
[src]
Trait Implementations
impl<'a> Debug for SnmpGenericPdu<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for SnmpGenericPdu<'a>
[src]
fn eq(&self, __arg_0: &SnmpGenericPdu<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SnmpGenericPdu<'a>) -> bool
[src]
This method tests for !=
.