Struct InvalidMethod
pub struct InvalidMethod { /* private fields */ }
A possible error value when converting Method from bytes.
Trait Implementations
impl Debug for InvalidMethod
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for InvalidMethod
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Error for InvalidMethod
Auto Trait Implementations
impl Freeze for InvalidMethod
impl RefUnwindSafe for InvalidMethod
impl Send for InvalidMethod
impl Sync for InvalidMethod
impl Unpin for InvalidMethod
impl UnsafeUnpin for InvalidMethod
impl UnwindSafe for InvalidMethod
Blanket Implementations
impl<T> Any for InvalidMethod
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for InvalidMethod
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for InvalidMethod
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for InvalidMethod
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToString for InvalidMethod
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for InvalidMethod
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 InvalidMethod
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for InvalidMethod
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>