Enum snmp_parser::error::SnmpError
[−]
[src]
pub enum SnmpError { InvalidMessage, InvalidVersion, InvalidPduType, InvalidPdu, InvalidHeaderData, InvalidScopedPduData, }
Variants
InvalidMessage
Invalid message: not a DER sequence, or unexpected number of items, etc.
InvalidVersion
Invalid version: not a number, or not in supported range (1, 2 or 3)
InvalidPduType
Unknown or invalid PDU type
InvalidPdu
Invalid PDU: content does not match type, or content cannot be decoded
InvalidHeaderData
Invalid SNMPv3 header data
InvalidScopedPduData
Invalid SNMPv3 scoped PDU
Trait Implementations
impl Debug for SnmpError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more