[−][src]Enum hyper::header::Preference
Prefer contains a list of these preferences.
Variants
"respond-async"
"return=representation"
"return=minimal"
"handling=strict"
"handling=lenient"
Wait(u32)
"wait=delta"
Extension preferences. Always has a value, if none is specified it is just "". A preference can also have a list of parameters.
Trait Implementations
impl Clone for Preference
[src]
fn clone(&self) -> Preference
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Preference
[src]
impl Display for Preference
[src]
impl FromStr for Preference
[src]
type Err = Option<<u32 as FromStr>::Err>
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Preference, Option<<u32 as FromStr>::Err>>
[src]
impl PartialEq<Preference> for Preference
[src]
fn eq(&self, other: &Preference) -> bool
[src]
fn ne(&self, other: &Preference) -> bool
[src]
impl StructuralPartialEq for Preference
[src]
Auto Trait Implementations
impl RefUnwindSafe for Preference
impl Send for Preference
impl Sync for Preference
impl Unpin for Preference
impl UnwindSafe for Preference
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,