Struct MethodNotConnect
struct MethodNotConnect
Rejection type for WebSocketUpgrade.
Implementations
impl MethodNotConnect
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 MethodNotConnect
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Default for MethodNotConnect
fn default() -> Self
impl Display for MethodNotConnect
fn fmt(self: &Self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result
impl Error for MethodNotConnect
impl Freeze for MethodNotConnect
impl IntoResponse for MethodNotConnect
fn into_response(self: Self) -> $crate::response::Response
impl RefUnwindSafe for MethodNotConnect
impl Send for MethodNotConnect
impl Sync for MethodNotConnect
impl Unpin for MethodNotConnect
impl UnwindSafe for MethodNotConnect
impl<T> Any for MethodNotConnect
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for MethodNotConnect
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for MethodNotConnect
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for MethodNotConnect
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for MethodNotConnect
impl<T> Same for MethodNotConnect
impl<T> ToString for MethodNotConnect
fn to_string(self: &Self) -> String
impl<T> WithSubscriber for MethodNotConnect
impl<T, U> Into for MethodNotConnect
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 MethodNotConnect
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for MethodNotConnect
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip for MethodNotConnect
fn vzip(self: Self) -> V