[][src]Enum snmp_mp::PduErrorStatus

pub enum PduErrorStatus {
    NoError,
    TooBig,
    NoSuchName,
    BadValue,
    ReadOnly,
    GenErr,
    NoAccess,
    WrongType,
    WrongLength,
    WrongEncoding,
    WrongValue,
    NoCreation,
    InconsistentValue,
    ResourceUnavailable,
    CommitFailed,
    UndoFailed,
    AuthorizationError,
    NotWritable,
    InconsistentName,
}

Response PDU error status.

A non-zero value of the error-status field in a Response-PDU is used to indicate that an error occurred to prevent the processing of the request.

Variants

NoError
TooBig
NoSuchName
BadValue
ReadOnly
GenErr
NoAccess
WrongType
WrongLength
WrongEncoding
WrongValue
NoCreation
InconsistentValue
ResourceUnavailable
CommitFailed
UndoFailed
AuthorizationError
NotWritable
InconsistentName

Trait Implementations

impl Clone for PduErrorStatus[src]

impl Copy for PduErrorStatus[src]

impl Debug for PduErrorStatus[src]

impl Default for PduErrorStatus[src]

impl Eq for PduErrorStatus[src]

impl Hash for PduErrorStatus[src]

impl PartialEq<PduErrorStatus> for PduErrorStatus[src]

impl StructuralEq for PduErrorStatus[src]

impl StructuralPartialEq for PduErrorStatus[src]

impl TryFrom<u8> for PduErrorStatus[src]

type Error = IntToPduErrorStatusError

The type returned in the event of a conversion error.

fn try_from(integer: u8) -> Result<Self, Self::Error>[src]

Tries to create a PduErrorStatus from a u8.

Errors

This returns an error if the u8 doesn't match a PDU type.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.