Enum snmp_parser::snmp::NetworkAddress
source · pub enum NetworkAddress {
IPv4(Ipv4Addr),
}
Expand description
This CHOICE represents an address from one of possibly several protocol families. Currently, only one protocol family, the Internet family, is present in this CHOICE.
Variants§
Trait Implementations§
source§impl Clone for NetworkAddress
impl Clone for NetworkAddress
source§fn clone(&self) -> NetworkAddress
fn clone(&self) -> NetworkAddress
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NetworkAddress
impl Debug for NetworkAddress
source§impl PartialEq<NetworkAddress> for NetworkAddress
impl PartialEq<NetworkAddress> for NetworkAddress
source§fn eq(&self, other: &NetworkAddress) -> bool
fn eq(&self, other: &NetworkAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<Any<'a>> for NetworkAddress
impl<'a> TryFrom<Any<'a>> for NetworkAddress
NetworkAddress ::= CHOICE { internet IpAddress } IpAddress ::= [APPLICATION 0] -- in network-byte order IMPLICIT OCTET STRING (SIZE (4))