Struct snmp::ObjectIdentifier
[−]
[src]
pub struct ObjectIdentifier<'a> { /* fields omitted */ }
Wrapper around raw bytes representing an ASN.1 OBJECT IDENTIFIER.
Methods
impl<'a> ObjectIdentifier<'a>
[src]
fn read_name<'b>(&self, out: &'b mut ObjIdBuf) -> Result<&'b [u32], SnmpError>
Reads out the OBJECT IDENTIFIER sub-IDs as a slice of u32s. Caller must provide storage for 128 sub-IDs.
fn raw(&self) -> &'a [u8]
Trait Implementations
impl<'a> PartialEq for ObjectIdentifier<'a>
[src]
fn eq(&self, __arg_0: &ObjectIdentifier<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ObjectIdentifier<'a>) -> bool
This method tests for !=
.
impl<'a> Debug for ObjectIdentifier<'a>
[src]
impl<'a> Display for ObjectIdentifier<'a>
[src]
impl<'a> PartialEq<[u32]> for ObjectIdentifier<'a>
[src]
fn eq(&self, other: &[u32]) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.