[][src]Enum sapper::header::Expect

pub enum Expect {
    Continue,
}

The Expect header.

The "Expect" header field in a request indicates a certain set of behaviors (expectations) that need to be supported by the server in order to properly handle this request. The only such expectation defined by this specification is 100-continue.

Expect = "100-continue"

Example

use hyper::header::{Headers, Expect};
let mut headers = Headers::new();
headers.set(Expect::Continue);

Variants

Continue

The value 100-continue.

Trait Implementations

impl PartialEq<Expect> for Expect[src]

impl Clone for Expect[src]

impl HeaderFormat for Expect[src]

impl Header for Expect[src]

impl Debug for Expect[src]

impl Display for Expect[src]

impl Copy for Expect[src]

Auto Trait Implementations

impl Send for Expect

impl Sync for Expect

impl Unpin for Expect

impl UnwindSafe for Expect

impl RefUnwindSafe for Expect

Blanket Implementations

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

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> HeaderClone for T where
    T: Sealed, 
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> UnsafeAny for T where
    T: Any