Enum evegfx::Error[][src]

#[non_exhaustive]pub enum Error<I: Interface> {
    Unsupported,
    Interface(I::Error),
}

A general error type for errors from the main EVE type, and some other types such as LowLevel.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unsupported

Indicates that the requested operation isn't supported for the current model.

The crate API is designed to handle certain model differences at compile time within the type system, but for reasons of pragmatism some differences are handled only dynamically.

Interface(I::Error)

Errors encountered when sending or recieving data from the EVE chip.

The wrapped error type for this variant is the error type for whichever Interface implementation you are using.

Trait Implementations

impl<I> Debug for Error<I> where
    I: Interface,
    I::Error: Debug
[src]

impl<M, I, W> From<Error<I>> for CoprocessorError<M, I, W> where
    M: Model,
    I: Interface,
    W: Waiter<M, I>, 
[src]

Auto Trait Implementations

impl<I> Send for Error<I> where
    <I as Interface>::Error: Send
[src]

impl<I> Sync for Error<I> where
    <I as Interface>::Error: Sync
[src]

impl<I> Unpin for Error<I> where
    <I as Interface>::Error: Unpin
[src]

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.