Enum csnmp::message::ExpectedAsn1Type
source · pub enum ExpectedAsn1Type {
Integer,
OctetString,
Sequence,
Oid,
Null,
AnySnmpValueType,
}
Expand description
Encodes which type of ASN.1 value was expected.
Variants§
Integer
OctetString
Sequence
Oid
Null
AnySnmpValueType
A virtual type representing any SNMP value (ObjectSyntax
).
Trait Implementations§
source§impl Clone for ExpectedAsn1Type
impl Clone for ExpectedAsn1Type
source§fn clone(&self) -> ExpectedAsn1Type
fn clone(&self) -> ExpectedAsn1Type
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 ExpectedAsn1Type
impl Debug for ExpectedAsn1Type
source§impl Hash for ExpectedAsn1Type
impl Hash for ExpectedAsn1Type
source§impl PartialEq for ExpectedAsn1Type
impl PartialEq for ExpectedAsn1Type
source§fn eq(&self, other: &ExpectedAsn1Type) -> bool
fn eq(&self, other: &ExpectedAsn1Type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ExpectedAsn1Type
impl Eq for ExpectedAsn1Type
impl StructuralEq for ExpectedAsn1Type
impl StructuralPartialEq for ExpectedAsn1Type
Auto Trait Implementations§
impl RefUnwindSafe for ExpectedAsn1Type
impl Send for ExpectedAsn1Type
impl Sync for ExpectedAsn1Type
impl Unpin for ExpectedAsn1Type
impl UnwindSafe for ExpectedAsn1Type
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more