[][src]Enum casco::Error

pub enum Error<D: ?Sized, S> where
    D: Driver<S>,
    S: TokenStream
{ Cascade(Error<S>), Domain(D::Error), }

Type of error for exceptions that occur during parsing of domain-specific properties and rules.

Variants

Cascade(Error<S>)

This type of error is emitted when an exception occurs during parsing of the cascade.

Domain(D::Error)

This type of error is emitted by the driver's domain-specific parser.

Trait Implementations

impl<D: ?Sized, S> Debug for Error<D, S> where
    D: Driver<S>,
    S: TokenStream,
    D::Error: Debug
[src]

Auto Trait Implementations

impl<D: ?Sized, S> RefUnwindSafe for Error<D, S> where
    <D as Driver<S>>::Error: RefUnwindSafe,
    <S as TokenStream>::Span: RefUnwindSafe

impl<D: ?Sized, S> Send for Error<D, S> where
    <D as Driver<S>>::Error: Send,
    <S as TokenStream>::Span: Send

impl<D: ?Sized, S> Sync for Error<D, S> where
    <D as Driver<S>>::Error: Sync,
    <S as TokenStream>::Span: Sync

impl<D: ?Sized, S> Unpin for Error<D, S> where
    <D as Driver<S>>::Error: Unpin,
    <S as TokenStream>::Span: Unpin

impl<D: ?Sized, S> UnwindSafe for Error<D, S> where
    <D as Driver<S>>::Error: UnwindSafe,
    <S as TokenStream>::Span: 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, 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.