pub struct MissingExtension(/* private fields */);
Expand description
Rejection type for Extension
if an expected
request extension was not found.
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Debug for MissingExtension
impl Debug for MissingExtension
Sourceยงimpl Display for MissingExtension
impl Display for MissingExtension
Sourceยงimpl Error for MissingExtension
impl Error for MissingExtension
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<MissingExtension> for ExtensionRejection
impl From<MissingExtension> for ExtensionRejection
Sourceยงfn from(inner: MissingExtension) -> ExtensionRejection
fn from(inner: MissingExtension) -> ExtensionRejection
Converts to this type from the input type.
Sourceยงimpl IntoResponse for MissingExtension
impl IntoResponse for MissingExtension
Sourceยงfn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>
fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>
Create a response.
Auto Trait Implementationsยง
impl Freeze for MissingExtension
impl !RefUnwindSafe for MissingExtension
impl Send for MissingExtension
impl Sync for MissingExtension
impl Unpin for MissingExtension
impl !UnwindSafe for MissingExtension
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