Struct finchers_tungstenite::HandshakeError [−][src]
pub struct HandshakeError { /* fields omitted */ }
The error type during handling WebSocket handshake.
Methods
impl HandshakeError
[src]
impl HandshakeError
pub fn kind(&self) -> &HandshakeErrorKind
[src]
pub fn kind(&self) -> &HandshakeErrorKind
Trait Implementations
impl Debug for HandshakeError
[src]
impl Debug for HandshakeError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<HandshakeErrorKind> for HandshakeError
[src]
impl From<HandshakeErrorKind> for HandshakeError
fn from(kind: HandshakeErrorKind) -> Self
[src]
fn from(kind: HandshakeErrorKind) -> Self
Performs the conversion.
impl HttpError for HandshakeError
[src]
impl HttpError for HandshakeError
fn status_code(&self) -> StatusCode
[src]
fn status_code(&self) -> StatusCode
Return the HTTP status code associated with this error type.
fn headers(&self, headers: &mut HeaderMap<HeaderValue>)
[src]
fn headers(&self, headers: &mut HeaderMap<HeaderValue>)
Append a set of header values to the header map.
fn cause(&self) -> Option<&(Fail + 'static)>
[src]
fn cause(&self) -> Option<&(Fail + 'static)>
Auto Trait Implementations
impl Send for HandshakeError
impl Send for HandshakeError
impl Sync for HandshakeError
impl Sync for HandshakeError