#[non_exhaustive]pub enum HttpDateError {
HttpDate,
}Expand description
Why an HTTP date was rejected.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HttpDate
Not an HTTP Date value.
Trait Implementations§
Source§impl Clone for HttpDateError
impl Clone for HttpDateError
Source§fn clone(&self) -> HttpDateError
fn clone(&self) -> HttpDateError
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 HttpDateError
Source§impl Debug for HttpDateError
impl Debug for HttpDateError
Source§impl Display for HttpDateError
impl Display for HttpDateError
impl Eq for HttpDateError
Source§impl Error for HttpDateError
impl Error for HttpDateError
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<HttpDateError> for TimingError
impl From<HttpDateError> for TimingError
Source§fn from(source: HttpDateError) -> Self
fn from(source: HttpDateError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HttpDateError
impl PartialEq for HttpDateError
impl StructuralPartialEq for HttpDateError
Auto Trait Implementations§
impl Forget for HttpDateError
impl Freeze for HttpDateError
impl Move for HttpDateError
impl RefUnwindSafe for HttpDateError
impl Send for HttpDateError
impl Sync for HttpDateError
impl Unpin for HttpDateError
impl UnsafeUnpin for HttpDateError
impl UnwindSafe for HttpDateError
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