Enum hyper::header::Expect [] [src]

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

The value 100-continue.

Trait Implementations

impl Copy for Expect
[src]

impl Clone for Expect
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Expect
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Debug for Expect
[src]

[src]

Formats the value using the given formatter. Read more

impl Header for Expect
[src]

[src]

Returns the name of the header field this belongs to. Read more

[src]

Parse a header from a raw stream of bytes. Read more

[src]

Format a header to outgoing stream. Read more

impl Display for Expect
[src]

[src]

Formats the value using the given formatter. Read more