Enum hyper::header::Preference  
                   
                       [−]
                   
               [src]
pub enum Preference {
    RespondAsync,
    ReturnRepresentation,
    ReturnMinimal,
    HandlingStrict,
    HandlingLeniant,
    Wait(u32),
    Extension(String, String, Vec<(String, String)>),
}Prefer contains a list of these preferences.
Variants
| RespondAsync | "respond-async" | |
| ReturnRepresentation | "return=representation" | |
| ReturnMinimal | "return=minimal" | |
| HandlingStrict | "handling=strict" | |
| HandlingLeniant | "handling=leniant" | |
| Wait | "wait=delta" | |
| Extension | Extension preferences. Always has a value, if none is specified it is just "". A preference can also have a list of parameters. |