Enum rustun::ErrorKind
[−]
[src]
pub enum ErrorKind { Timeout, Full, NotStun(Vec<u8>), Invalid, Unsupported, ErrorCode(ErrorCode), Other, }
A list of error kind.
Variants
Timeout
The operation timed out.
Full
The target resource is full (maybe temporary).
NotStun(Vec<u8>)
The input bytes are not a STUN message.
Invalid
The input is invalid.
Unsupported
The input is valid, but requires unsupported features by this agent.
ErrorCode(ErrorCode)
An error specified by the ErrorCode
instance.
Other
Other errors.
Trait Implementations
impl Debug for ErrorKind
[src]
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl ErrorKind for ErrorKind
[src]
fn description(&self) -> &str
A short description of the error kind. Read more
fn display(&self, f: &mut Formatter) -> Result<(), Error>
Displays this kind. Read more
fn is_tracking_needed(&self) -> bool
Returns whether the error of this kind is needed to be tracked. Read more
fn is_assigning_tracking_number_needed(&self) -> bool
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]
fn into_trackable_error(f: MonitorError<Error>) -> Error
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<Error> for ErrorKind
[src]
fn into_trackable_error(f: Error) -> Error
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<RecvError> for ErrorKind
[src]
fn into_trackable_error(f: RecvError) -> Error
Converts from From
to TrackableError<Self>
.
impl IntoTrackableError<SystemTimeError> for ErrorKind
[src]
fn into_trackable_error(f: SystemTimeError) -> Error
Converts from From
to TrackableError<Self>
.