Struct snmp_parser::snmp::SnmpVariable
source · pub struct SnmpVariable<'a> {
pub oid: Oid<'a>,
pub val: VarBindValue<'a>,
}
Fields§
§oid: Oid<'a>
§val: VarBindValue<'a>
Trait Implementations§
source§impl<'a> Debug for SnmpVariable<'a>
impl<'a> Debug for SnmpVariable<'a>
source§impl<'a> PartialEq<SnmpVariable<'a>> for SnmpVariable<'a>
impl<'a> PartialEq<SnmpVariable<'a>> for SnmpVariable<'a>
source§fn eq(&self, other: &SnmpVariable<'a>) -> bool
fn eq(&self, other: &SnmpVariable<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<Any<'a>> for SnmpVariable<'a>
impl<'a> TryFrom<Any<'a>> for SnmpVariable<'a>
VarBind ::= SEQUENCE { name ObjectName, CHOICE { value ObjectSyntax, unSpecified NULL, -- in retrieval requests -- exceptions in responses noSuchObject [0] IMPLICIT NULL, noSuchInstance [1] IMPLICIT NULL, endOfMibView [2] IMPLICIT NULL } }