Struct axum::extract::rejection::FailedToResolveHost
source · #[non_exhaustive]pub struct FailedToResolveHost;
Expand description
Rejection type used if the Host
extractor is unable to
resolve a host.
Implementations§
Trait Implementations§
source§impl Debug for FailedToResolveHost
impl Debug for FailedToResolveHost
source§impl Default for FailedToResolveHost
impl Default for FailedToResolveHost
source§impl Display for FailedToResolveHost
impl Display for FailedToResolveHost
source§impl Error for FailedToResolveHost
impl Error for FailedToResolveHost
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<FailedToResolveHost> for HostRejection
impl From<FailedToResolveHost> for HostRejection
source§fn from(inner: FailedToResolveHost) -> Self
fn from(inner: FailedToResolveHost) -> Self
Converts to this type from the input type.
source§impl IntoResponse for FailedToResolveHost
impl IntoResponse for FailedToResolveHost
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for FailedToResolveHost
impl RefUnwindSafe for FailedToResolveHost
impl Send for FailedToResolveHost
impl Sync for FailedToResolveHost
impl Unpin for FailedToResolveHost
impl UnwindSafe for FailedToResolveHost
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more