pub enum HttpValidatorError {
EmptyEtagList,
InvalidHttpDate,
}Expand description
Errors produced while parsing HTTP validators.
Variants§
EmptyEtagList
A comma-separated ETag list did not contain an entity tag.
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 (const: unstable) · 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
Source§fn eq(&self, other: &HttpValidatorError) -> bool
fn eq(&self, other: &HttpValidatorError) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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