#[non_exhaustive]pub struct InvalidWebSocketVersionHeader;
This is supported on crate feature
ws
only.Expand description
Rejection type for WebSocketUpgrade
.
Trait Implementations
Performs the conversion.
Create a response.
Auto Trait Implementations
impl Send for InvalidWebSocketVersionHeader
impl Sync for InvalidWebSocketVersionHeader
impl Unpin for InvalidWebSocketVersionHeader
impl UnwindSafe for InvalidWebSocketVersionHeader
Blanket Implementations
Mutably borrows from an owned value. Read more
Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more