Struct tk_http::websocket::Error
[−]
pub struct Error(_);
Websocket Error works both for client and server connections
Methods
impl Error
[src]
pub fn custom<E: Into<Box<Error + Send + Sync>>>(err: E) -> Error
[src]
Create an error instance wrapping custom error
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more