pub enum HttpValidatorError {
InvalidEtagList,
InvalidHttpDate,
}Expand description
Errors produced while parsing HTTP validators.
Variants§
InvalidEtagList
An entity-tag list contained a malformed tag or mixed * with tags.
InvalidHttpDate
A value was not a valid HTTP date.
Trait Implementations§
Source§impl Clone for HttpValidatorError
impl Clone for HttpValidatorError
Source§fn clone(&self) -> HttpValidatorError
fn clone(&self) -> HttpValidatorError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HttpValidatorError
impl Debug for HttpValidatorError
Source§impl Display for HttpValidatorError
impl Display for HttpValidatorError
Source§impl Error for HttpValidatorError
impl Error for HttpValidatorError
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 PartialEq for HttpValidatorError
impl PartialEq for HttpValidatorError
impl Copy for HttpValidatorError
impl Eq for HttpValidatorError
impl StructuralPartialEq for HttpValidatorError
Auto Trait Implementations§
impl Freeze for HttpValidatorError
impl RefUnwindSafe for HttpValidatorError
impl Send for HttpValidatorError
impl Sync for HttpValidatorError
impl Unpin for HttpValidatorError
impl UnwindSafe for HttpValidatorError
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