Struct MethodNotGet
struct MethodNotGet
Rejection type for WebSocketUpgrade.
Implementations
impl MethodNotGet
fn body_text(self: &Self) -> StringGet the response body text used for this rejection.
fn status(self: &Self) -> http::StatusCodeGet the status code used for this rejection.
impl Debug for MethodNotGet
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Default for MethodNotGet
fn default() -> Self
impl Display for MethodNotGet
fn fmt(self: &Self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result
impl Error for MethodNotGet
impl Freeze for MethodNotGet
impl IntoResponse for MethodNotGet
fn into_response(self: Self) -> $crate::response::Response
impl RefUnwindSafe for MethodNotGet
impl Send for MethodNotGet
impl Sync for MethodNotGet
impl Unpin for MethodNotGet
impl UnwindSafe for MethodNotGet
impl<T> Any for MethodNotGet
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for MethodNotGet
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for MethodNotGet
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for MethodNotGet
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for MethodNotGet
impl<T> Same for MethodNotGet
impl<T> ToString for MethodNotGet
fn to_string(self: &Self) -> String
impl<T> WithSubscriber for MethodNotGet
impl<T, U> Into for MethodNotGet
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for MethodNotGet
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for MethodNotGet
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip for MethodNotGet
fn vzip(self: Self) -> V