[][src]Enum cjdns_ctrl::ErrorMessageType

#[repr(u32)]pub enum ErrorMessageType {
    None,
    MalformedAddress,
    Flood,
    LinkLimitExceeded,
    OversizeMessage,
    UndersizedMessage,
    Authentication,
    Invalid,
    Undeliverable,
    LoopRoute,
    ReturnPathInvalid,
    Unrecognized,
}

Concrete types of error for control error message

Variants

None

No error, everything is ok.

MalformedAddress

The switch label was malformed.

Flood

Packet dropped because link is congested.

LinkLimitExceeded

Packet dropped because node has oversent its limit.

OversizeMessage

Message too big to send.

UndersizedMessage

Message smaller than expected headers.

Authentication

Authentication failed.

Invalid

Header is invalid or checksum failed.

Undeliverable

Message could not be sent to its destination through no fault of the sender.

LoopRoute

The route enters and leaves through the same interface in one switch.

ReturnPathInvalid

The switch is unable to represent the return path.

Unrecognized

Trait Implementations

impl Clone for ErrorMessageType[src]

impl Copy for ErrorMessageType[src]

impl Debug for ErrorMessageType[src]

impl Eq for ErrorMessageType[src]

impl From<ErrorMessageType> for u32[src]

impl From<u32> for ErrorMessageType[src]

impl FromPrimitive for ErrorMessageType[src]

type Primitive = u32

impl PartialEq<ErrorMessageType> for ErrorMessageType[src]

impl StructuralEq for ErrorMessageType[src]

impl StructuralPartialEq for ErrorMessageType[src]

impl TryFromPrimitive for ErrorMessageType[src]

type Primitive = u32

Auto Trait Implementations

impl RefUnwindSafe for ErrorMessageType

impl Send for ErrorMessageType

impl Sync for ErrorMessageType

impl Unpin for ErrorMessageType

impl UnwindSafe for ErrorMessageType

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.