pub struct UnsupportedContentTypeSnafu;Expand description
SNAFU context selector for the RequestError::UnsupportedContentType variant
Implementations§
Source§impl UnsupportedContentTypeSnafu
impl UnsupportedContentTypeSnafu
Sourcepub fn build(self) -> RequestError
pub fn build(self) -> RequestError
Consume the selector and return the associated error
Sourcepub fn fail<__T>(self) -> Result<__T, RequestError>
pub fn fail<__T>(self) -> Result<__T, RequestError>
Consume the selector and return a Result with the associated error
Trait Implementations§
Source§impl Clone for UnsupportedContentTypeSnafu
impl Clone for UnsupportedContentTypeSnafu
impl Copy for UnsupportedContentTypeSnafu
Source§impl Debug for UnsupportedContentTypeSnafu
impl Debug for UnsupportedContentTypeSnafu
Source§impl IntoError<RequestError> for UnsupportedContentTypeSnafu
impl IntoError<RequestError> for UnsupportedContentTypeSnafu
Source§fn into_error(self, error: Self::Source) -> RequestError
fn into_error(self, error: Self::Source) -> RequestError
Combine the information to produce the error
Auto Trait Implementations§
impl Freeze for UnsupportedContentTypeSnafu
impl RefUnwindSafe for UnsupportedContentTypeSnafu
impl Send for UnsupportedContentTypeSnafu
impl Sync for UnsupportedContentTypeSnafu
impl Unpin for UnsupportedContentTypeSnafu
impl UnsafeUnpin for UnsupportedContentTypeSnafu
impl UnwindSafe for UnsupportedContentTypeSnafu
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