[−][src]Enum rocket_http::hyper::header::RangeUnit
Range Units, described in RFC7233
A representation can be partitioned into subranges according to various structural units, depending on the structure inherent in the representation's media type.
ABNF
range-unit = bytes-unit / other-range-unit
bytes-unit = "bytes"
other-range-unit = token
Variants
BytesIndicating byte-range requests are supported.
NoneReserved as keyword, indicating no ranges are supported.
Unregistered(String)The given range unit is not registered at IANA.
Trait Implementations
impl PartialEq<RangeUnit> for RangeUnit[src]
impl PartialEq<RangeUnit> for RangeUnitimpl Display for RangeUnit[src]
impl Display for RangeUnitimpl Eq for RangeUnit[src]
impl Eq for RangeUnitimpl Debug for RangeUnit[src]
impl Debug for RangeUnitimpl Clone for RangeUnit[src]
impl Clone for RangeUnitfn clone(&self) -> RangeUnit[src]
fn clone(&self) -> RangeUnitfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl FromStr for RangeUnit[src]
impl FromStr for RangeUnitAuto Trait Implementations
Blanket Implementations
impl<T> IntoCollection for T[src]
impl<T> IntoCollection for TⓘImportant traits for SmallVec<A>fn into_collection<A>(Self) -> SmallVec<A> where
A: Array<Item = T>, [src]
ⓘImportant traits for SmallVec<A>
fn into_collection<A>(Self) -> SmallVec<A> where
A: Array<Item = T>, ⓘImportant traits for SmallVec<A>fn mapped<U, F, A>(Self, F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U, [src]
ⓘImportant traits for SmallVec<A>
fn mapped<U, F, A>(Self, F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U, impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T> ToString for T where
T: Display + ?Sized, [src]
impl<T> ToString for T where
T: Display + ?Sized, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut Timpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeIdimpl<T, I> AsResult for T where
I: Input, [src]
impl<T, I> AsResult for T where
I: Input, impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, fn equivalent(&self, key: &K) -> bool[src]
fn equivalent(&self, key: &K) -> boolimpl<T> Typeable for T where
T: Any, [src]
impl<T> Typeable for T where
T: Any,