[][src]Enum accel::error::AccelError

pub enum AccelError {
    CUDAError {
        api_name: String,
        error: DeviceError,
    },
    AsyncOperationNotReady,
    DeviceAssertionFailed,
    DeviceNotFound {
        id: usize,
        count: usize,
    },
    FileNotFound {
        path: PathBuf,
    },
    AsyncTaskFailed(JoinError),
}

Variants

CUDAError

Raw errors originates from CUDA Device APIs

Fields of CUDAError

api_name: Stringerror: DeviceError
AsyncOperationNotReady
DeviceAssertionFailed

Error for user device code assertion

DeviceNotFound

Fields of DeviceNotFound

id: usizecount: usize
FileNotFound

Fields of FileNotFound

path: PathBuf
AsyncTaskFailed(JoinError)

Trait Implementations

impl Debug for AccelError[src]

impl Display for AccelError[src]

impl Error for AccelError[src]

impl From<JoinError> for AccelError[src]

Auto Trait Implementations

impl RefUnwindSafe for AccelError

impl Send for AccelError

impl Sync for AccelError

impl Unpin for AccelError

impl UnwindSafe for AccelError

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> 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.