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

pub enum WSUrlErrorKind {
    CannotSetFragment,
    InvalidScheme,
}

Represents a WebSocket URL error

Variants

CannotSetFragment

Fragments are not valid in a WebSocket URL

InvalidScheme

The scheme provided is invalid for a WebSocket

Trait Implementations

impl Display for WSUrlErrorKind

fn fmt(&self, fmt: &mut Formatter) -> Result

impl Error for WSUrlErrorKind

fn description(&self) -> &str

1.0.0fn cause(&self) -> Option<&Error>

Derived Implementations

impl Debug for WSUrlErrorKind

fn fmt(&self, __arg_0: &mut Formatter) -> Result