[][src]Enum websocket::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 Debug for Expect[src]

impl Display for Expect[src]

impl PartialEq<Expect> for Expect[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Copy for Expect[src]

impl HeaderFormat for Expect[src]

impl Header for Expect[src]

impl Clone for Expect[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Sync for Expect

impl Unpin for Expect

impl Send 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> 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> From<T> for T[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

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Erased for T