[][src]Struct tower_web::extract::http_date_time::HttpDateTime

pub struct 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_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]

impl PartialEq<HttpDateTime> for HttpDateTime[src]

impl Ord for HttpDateTime[src]

default fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

default fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

default fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl From<SystemTime> for HttpDateTime[src]

impl Debug for HttpDateTime[src]

impl HttpTryFrom<HttpDateTime> for HeaderValue[src]

type Error = InvalidHeaderValue

Associated error with the conversion this implementation represents.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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]

impl<T> Erased for T