[−][src]Enum aahc::error::BadContentLength
The ways in which a received Content-Type
header can be invalid.
Variants
NotUtf8(Utf8Error)
The header is not valid UTF-8.
The header is not a nonnegative integer or does not fit into a u64
.
Trait Implementations
impl Debug for BadContentLength
[src]
impl Display for BadContentLength
[src]
impl Error for BadContentLength
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<BadContentLength> for InvalidData
[src]
fn from(inner: BadContentLength) -> Self
[src]
impl From<BadContentLength> for Error
[src]
fn from(inner: BadContentLength) -> Self
[src]
impl PartialEq<BadContentLength> for BadContentLength
[src]
fn eq(&self, other: &BadContentLength) -> bool
[src]
fn ne(&self, other: &BadContentLength) -> bool
[src]
impl StructuralPartialEq for BadContentLength
[src]
Auto Trait Implementations
impl RefUnwindSafe for BadContentLength
impl Send for BadContentLength
impl Sync for BadContentLength
impl Unpin for BadContentLength
impl UnwindSafe for BadContentLength
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,