[][src]Struct media_type::error::ParserErrorRef

pub struct ParserErrorRef<'a> { /* fields omitted */ }

Methods

impl<'a> ParserErrorRef<'a>[src]

pub fn new(input: &'a str, kind: ErrorKind) -> Self[src]

pub fn input(&self) -> &'a str[src]

pub fn kind(&self) -> ErrorKind[src]

pub fn to_owned(&self) -> Error[src]

Trait Implementations

impl<'a> From<ParserErrorRef<'a>> for Error[src]

impl<'a> Clone for ParserErrorRef<'a>[src]

impl<'a> Eq for ParserErrorRef<'a>[src]

impl<'a> PartialEq<ParserErrorRef<'a>> for ParserErrorRef<'a>[src]

impl<'a> Display for ParserErrorRef<'a>[src]

impl<'a> Debug for ParserErrorRef<'a>[src]

impl<'a> Hash for ParserErrorRef<'a>[src]

impl<'a> Error for ParserErrorRef<'a>[src]

Auto Trait Implementations

impl<'a> Send for ParserErrorRef<'a>

impl<'a> Sync for ParserErrorRef<'a>

impl<'a> Unpin for ParserErrorRef<'a>

impl<'a> UnwindSafe for ParserErrorRef<'a>

impl<'a> RefUnwindSafe for ParserErrorRef<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]