fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        match self {
            Error::InvalidUri(u) => write!(f, "invalid origin URI: {}", u),
            Error::UriParse(u) => write!(f, "URI `{}` failed to parse as origin", u),
            Error::BadMethod(m) => write!(f, "invalid or unrecognized method: {}", m),
        }
    }
/// Pretty prints a Request. This is primarily used by Rocket's logging
/// infrastructure.
Pretty prints a Request. This is primarily used by Rocket's logging
infrastructure.
Pretty prints a Request . This is primarily used by Rocket ' s logging infrastructure .
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        match self {
            Error::InvalidUri(u) => write!(f, "invalid origin URI: {}", u),
            Error::UriParse(u) => write!(f, "URI `{}` failed to parse as origin", u),
            Error::BadMethod(m) => write!(f, "invalid or unrecognized method: {}", m),
        }
    }
fn fmt ( & self , f : & mut fmt :: Formatter < ' _ > ) -> fmt :: Result { match self { Error :: InvalidUri ( u ) => write ! ( f " " u ) , Error :: UriParse ( u ) => write ! ( f " " u ) , Error :: BadMethod ( m ) => write ! ( f " " m ) , } }
Pretty prints a Request.
Pretty prints a Request .
&self
f
&mut fmt::Formatter<'_>
&self
f
&mut fmt::Formatter<'_>