Struct InvalidMethod

struct InvalidMethod { ... }

A possible error value when converting Method from bytes.

Implementations

impl Debug for InvalidMethod

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl Display for InvalidMethod

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl Error for InvalidMethod

impl Freeze for InvalidMethod

impl RefUnwindSafe for InvalidMethod

impl Send for InvalidMethod

impl Sync for InvalidMethod

impl Unpin for InvalidMethod

impl UnwindSafe for InvalidMethod

impl<T> Any for InvalidMethod

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for InvalidMethod

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for InvalidMethod

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for InvalidMethod

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for InvalidMethod

fn to_string(self: &Self) -> String

impl<T, U> Into for InvalidMethod

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for InvalidMethod

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for InvalidMethod

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>