Enum websocket::result::WSUrlErrorKind
[−]
[src]
pub enum WSUrlErrorKind { CannotSetFragment, InvalidScheme, NoHostName, }
Represents a WebSocket URL error
Variants
CannotSetFragment
Fragments are not valid in a WebSocket URL
InvalidScheme
The scheme provided is invalid for a WebSocket
NoHostName
There is no hostname or IP address to connect to
Trait Implementations
impl From<WSUrlErrorKind> for WebSocketError
[src]
fn from(err: WSUrlErrorKind) -> WebSocketError
[src]
Performs the conversion.
impl Debug for WSUrlErrorKind
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for WSUrlErrorKind
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more