Enum rustun::ErrorKind [] [src]

pub enum ErrorKind {
    Timeout,
    Full,
    NotStun(Vec<u8>),
    Invalid,
    Unsupported,
    ErrorCode(ErrorCode),
    Other,
}

A list of error kind.

Variants

The operation timed out.

The target resource is full (maybe temporary).

The input bytes are not a STUN message.

The input is invalid.

The input is valid, but requires unsupported features by this agent.

An error specified by the ErrorCode instance.

Other errors.

Trait Implementations

impl Debug for ErrorKind
[src]

Formats the value using the given formatter.

impl Clone for ErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ErrorKind for ErrorKind
[src]

A short description of the error kind. Read more

Displays this kind. Read more

Returns whether the error of this kind is needed to be tracked. Read more

Returns whether the error of this kind is needed to be assigned a tracking number automatically. Read more

impl IntoTrackableError<MonitorError<Error>> for ErrorKind
[src]

Converts from From to TrackableError<Self>.

impl IntoTrackableError<Error> for ErrorKind
[src]

Converts from From to TrackableError<Self>.

impl IntoTrackableError<RecvError> for ErrorKind
[src]

Converts from From to TrackableError<Self>.

impl IntoTrackableError<SystemTimeError> for ErrorKind
[src]

Converts from From to TrackableError<Self>.