pub(crate) enum BadHeader {
Malformed(String),
Reserved(String),
}Expand description
A header an app asked for that can’t be sent.
Variants§
Malformed(String)
Not written Name: value, or with characters a header can’t hold.
Reserved(String)
A header the download sets itself.
Trait Implementations§
impl Eq for BadHeader
impl StructuralPartialEq for BadHeader
Auto Trait Implementations§
impl Freeze for BadHeader
impl RefUnwindSafe for BadHeader
impl Send for BadHeader
impl Sync for BadHeader
impl Unpin for BadHeader
impl UnsafeUnpin for BadHeader
impl UnwindSafe for BadHeader
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