[−][src]Enum actix_http::ws::HandshakeError
Websocket handshake errors
Variants
GetMethodRequired
Only get method is allowed
NoWebsocketUpgrade
Upgrade header if not set to websocket
NoConnectionUpgrade
Connection header is not set to upgrade
NoVersionHeader
Websocket version header is not set
UnsupportedVersion
Unsupported websocket version
BadWebsocketKey
Websocket 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]
impl PartialEq<HandshakeError> for HandshakeError
[src]
fn eq(&self, other: &HandshakeError) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Display for HandshakeError
[src]
impl Debug for HandshakeError
[src]
Auto Trait Implementations
impl Unpin for HandshakeError
impl Sync for HandshakeError
impl Send for HandshakeError
impl UnwindSafe for HandshakeError
impl RefUnwindSafe for HandshakeError
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,