Enum http_encoding::error::EncodingError
source · #[non_exhaustive]pub enum EncodingError {
MissingFeature(FeatureError),
ParseAcceptEncoding,
}Expand description
Error occur when trying to construct decode/encode request/response.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MissingFeature(FeatureError)
ParseAcceptEncoding
Trait Implementations§
source§impl Debug for EncodingError
impl Debug for EncodingError
source§impl Display for EncodingError
impl Display for EncodingError
source§impl From<FeatureError> for EncodingError
impl From<FeatureError> for EncodingError
source§fn from(e: FeatureError) -> Self
fn from(e: FeatureError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for EncodingError
impl Send for EncodingError
impl Sync for EncodingError
impl Unpin for EncodingError
impl UnwindSafe for EncodingError
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