Struct http::method::InvalidMethod [−][src]
pub struct InvalidMethod { /* fields omitted */ }A possible error value when converting Method from bytes.
Trait Implementations
impl Debug for InvalidMethod[src]
impl Debug for InvalidMethodfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for InvalidMethod[src]
impl Display for InvalidMethodfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for InvalidMethod[src]
impl Error for InvalidMethodfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<InvalidMethod> for Error[src]
impl From<InvalidMethod> for Errorfn from(err: InvalidMethod) -> Error[src]
fn from(err: InvalidMethod) -> ErrorPerforms the conversion.
Auto Trait Implementations
impl Send for InvalidMethod
impl Send for InvalidMethodimpl Sync for InvalidMethod
impl Sync for InvalidMethod