Struct InvalidProtocolPseudoheader
#[non_exhaustive]
pub struct InvalidProtocolPseudoheader;
Rejection type for WebSocketUpgrade.
Implementations
impl InvalidProtocolPseudoheader
fn body_text(&self) -> StringGet the response body text used for this rejection.
fn status(&self) -> StatusCodeGet the status code used for this rejection.
Trait Implementations
impl Debug for InvalidProtocolPseudoheader
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for InvalidProtocolPseudoheader
fn default() -> Self
impl Display for InvalidProtocolPseudoheader
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Error for InvalidProtocolPseudoheader
impl IntoResponse for InvalidProtocolPseudoheader
fn into_response(self) -> Response
Auto Trait Implementations
impl Freeze for InvalidProtocolPseudoheader
impl RefUnwindSafe for InvalidProtocolPseudoheader
impl Send for InvalidProtocolPseudoheader
impl Sync for InvalidProtocolPseudoheader
impl Unpin for InvalidProtocolPseudoheader
impl UnsafeUnpin for InvalidProtocolPseudoheader
impl UnwindSafe for InvalidProtocolPseudoheader
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for InvalidProtocolPseudoheader
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for InvalidProtocolPseudoheader
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for InvalidProtocolPseudoheader
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for InvalidProtocolPseudoheader
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for InvalidProtocolPseudoheader
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for InvalidProtocolPseudoheader
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for InvalidProtocolPseudoheader
impl<T> Read<Exclusive, BecauseExclusive> for InvalidProtocolPseudoheader
where
T: ?Sized,
impl<T> Same for InvalidProtocolPseudoheader
type Output = T;
impl<T> ToString for InvalidProtocolPseudoheader
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T> WithSubscriber for InvalidProtocolPseudoheader
impl<T, U> Into<U> for InvalidProtocolPseudoheader
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for InvalidProtocolPseudoheader
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for InvalidProtocolPseudoheader
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip<V> for InvalidProtocolPseudoheader
where
V: MultiLane<T>,
fn vzip(self) -> V