[−][src]Struct media_type::spec::AnySpec
Note
Because the AnySpec is meant to be able to parse mimes from "any" spec it has to be able to handle all the thinks from MIME like soft-line brakes and comments in the mime type, which makes it slower then e.g. HttpSpec
Trait Implementations
impl Clone for AnySpec[src]
impl Copy for AnySpec[src]
impl Debug for AnySpec[src]
impl Default for AnySpec[src]
impl From<HttpSpec<Modern>> for AnySpec[src]
impl From<HttpSpec<Obs>> for AnySpec[src]
impl From<MimeSpec<Ascii, Modern>> for AnySpec[src]
impl From<MimeSpec<Ascii, Obs>> for AnySpec[src]
impl From<MimeSpec<Internationalized, Modern>> for AnySpec[src]
impl From<MimeSpec<Internationalized, Obs>> for AnySpec[src]
impl From<StrictSpec> for AnySpec[src]
fn from(_: StrictSpec) -> AnySpec[src]
impl GeneralQSSpec for AnySpec[src]
type Quoting = AnyQuoting
type Parsing = AnyParsingImpl
impl Spec for AnySpec[src]
type PercentEncodeSet = MimePercentEncodeSet
fn parse_token(input: &str) -> Result<usize, ParserErrorRef>[src]
fn parse_space(input: &str) -> Result<usize, ParserErrorRef>[src]
type UnquotedValue = MimeTokenValidator
fn validate_token(input: &str) -> Result<(), ParserErrorRef>[src]
fn parse_unquoted_value(input: &str) -> Result<usize, ParserErrorRef>[src]
fn parse_quoted_string(input: &str) -> Result<usize, ParserErrorRef>[src]
Auto Trait Implementations
impl RefUnwindSafe for AnySpec
impl Send for AnySpec
impl Sync for AnySpec
impl Unpin for AnySpec
impl UnwindSafe for AnySpec
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, 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>,