Enum websocket::result::WSUrlErrorKind [] [src]

pub enum WSUrlErrorKind {
    CannotSetFragment,
    InvalidScheme,
    NoHostName,
}

Represents a WebSocket URL error

Variants

Fragments are not valid in a WebSocket URL

The scheme provided is invalid for a WebSocket

There is no hostname or IP address to connect to

Trait Implementations

impl From<WSUrlErrorKind> for WebSocketError
[src]

[src]

Performs the conversion.

impl Debug for WSUrlErrorKind
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for WSUrlErrorKind
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for WSUrlErrorKind
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

Auto Trait Implementations