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]

[src]

[src]

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<TimerError> for Error
[src]

[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

[src]

Performs the conversion.

impl From<SslError> for Error
[src]

[src]

Performs the conversion.

impl From<SslHandshakeError<TcpStream>> for Error
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.