[][src]Enum yarte_lexer::error::LexError

pub enum LexError<K> {
    Fail(K, Span),
    Next(K, Span),
}

Variants

Fail(K, Span)
Next(K, Span)

Trait Implementations

impl<K: Clone> Clone for LexError<K>[src]

impl<K: Debug> Debug for LexError<K>[src]

impl<E: Error> From<LexError<E>> for ErrorMessage<E>[src]

Auto Trait Implementations

impl<K> RefUnwindSafe for LexError<K> where
    K: RefUnwindSafe

impl<K> Send for LexError<K> where
    K: Send

impl<K> Sync for LexError<K> where
    K: Sync

impl<K> Unpin for LexError<K> where
    K: Unpin

impl<K> UnwindSafe for LexError<K> where
    K: UnwindSafe

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.