[−][src]Enum actix_http::ws::HandshakeError
Websocket handshake errors
Variants
GetMethodRequiredOnly get method is allowed
NoWebsocketUpgradeUpgrade header if not set to websocket
NoConnectionUpgradeConnection header is not set to upgrade
NoVersionHeaderWebsocket version header is not set
UnsupportedVersionUnsupported websocket version
BadWebsocketKeyWebsocket key is not set or wrong
Trait Implementations
impl ResponseError for HandshakeError[src]
fn error_response(&self) -> Response[src]
fn render_response(&self) -> Response[src]
Constructs an error response
impl PartialEq<HandshakeError> for HandshakeError[src]
fn eq(&self, other: &HandshakeError) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Display for HandshakeError[src]
impl Debug for HandshakeError[src]
Auto Trait Implementations
impl Send for HandshakeError
impl Sync for HandshakeError
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.