Struct ws::Error[][src]

pub struct Error {
    pub kind: Kind,
    pub details: Cow<'static, str>,
}

A struct indicating the kind of error that has occurred and any precise details of that error.

Fields

Methods

impl Error
[src]

Important traits for Box<R>

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<SendError<Command>> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.

impl<B> From<Box<B>> for Error where
    B: StdError + Send + Sync + 'static, 
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error