pub struct InvalidContentEncoding { /* private fields */ }Expand description
An error returned when parsing an unknown or empty ContentEncoding name.
Trait Implementations§
Source§impl Clone for InvalidContentEncoding
impl Clone for InvalidContentEncoding
Source§fn clone(&self) -> InvalidContentEncoding
fn clone(&self) -> InvalidContentEncoding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InvalidContentEncoding
Source§impl Debug for InvalidContentEncoding
impl Debug for InvalidContentEncoding
Source§impl Display for InvalidContentEncoding
impl Display for InvalidContentEncoding
impl Eq for InvalidContentEncoding
Source§impl Error for InvalidContentEncoding
impl Error for InvalidContentEncoding
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<InvalidContentEncoding> for Error
impl From<InvalidContentEncoding> for Error
Source§fn from(err: InvalidContentEncoding) -> Error
fn from(err: InvalidContentEncoding) -> Error
Converts to this type from the input type.
Source§impl Hash for InvalidContentEncoding
impl Hash for InvalidContentEncoding
Source§impl Ord for InvalidContentEncoding
impl Ord for InvalidContentEncoding
Source§fn cmp(&self, other: &InvalidContentEncoding) -> Ordering
fn cmp(&self, other: &InvalidContentEncoding) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for InvalidContentEncoding
impl PartialEq for InvalidContentEncoding
Source§impl PartialOrd for InvalidContentEncoding
impl PartialOrd for InvalidContentEncoding
impl StructuralPartialEq for InvalidContentEncoding
Auto Trait Implementations§
impl Freeze for InvalidContentEncoding
impl RefUnwindSafe for InvalidContentEncoding
impl Send for InvalidContentEncoding
impl Sync for InvalidContentEncoding
impl Unpin for InvalidContentEncoding
impl UnsafeUnpin for InvalidContentEncoding
impl UnwindSafe for InvalidContentEncoding
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.