[−][src]Struct tower_web::extract::http_date_time::HttpDateTime
HTTP combined date and time value
Trait Implementations
impl<B: BufStream> Extract<B> for HttpDateTime[src]
type Future = Immediate<HttpDateTime>
The future representing the completion of the extraction logic.
fn extract(ctx: &Context) -> Self::Future[src]
fn extract_body(context: &Context, body: B) -> Self::Future[src]
Extract the argument using the HTTP request body. Read more
fn requires_body(callsite: &CallSite) -> bool[src]
Returns true if extracting the type requires body. Read more
impl Eq for HttpDateTime[src]
impl PartialOrd<HttpDateTime> for HttpDateTime[src]
fn partial_cmp(&self, other: &HttpDateTime) -> Option<Ordering>[src]
fn lt(&self, other: &HttpDateTime) -> bool[src]
fn le(&self, other: &HttpDateTime) -> bool[src]
fn gt(&self, other: &HttpDateTime) -> bool[src]
fn ge(&self, other: &HttpDateTime) -> bool[src]
impl PartialEq<HttpDateTime> for HttpDateTime[src]
fn eq(&self, other: &HttpDateTime) -> bool[src]
fn ne(&self, other: &HttpDateTime) -> bool[src]
impl Ord for HttpDateTime[src]
fn cmp(&self, other: &HttpDateTime) -> Ordering[src]
fn max(self, other: Self) -> Self1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
Compares and returns the minimum of two values. Read more
impl From<SystemTime> for HttpDateTime[src]
fn from(t: SystemTime) -> Self[src]
impl Debug for HttpDateTime[src]
impl HttpTryFrom<HttpDateTime> for HeaderValue[src]
type Error = InvalidHeaderValue
Associated error with the conversion this implementation represents.
fn try_from(t: HttpDateTime) -> Result<HeaderValue, Self::Error>[src]
Auto Trait Implementations
impl Send for HttpDateTime
impl Sync for HttpDateTime
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Same for T
type Output = T
Should always be Self
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,