Enum arrayfire::AfError[][src]

#[repr(i32)]
pub enum AfError { SUCCESS, ERR_NO_MEM, ERR_DRIVER, ERR_RUNTIME, ERR_INVALID_ARRAY, ERR_ARG, ERR_SIZE, ERR_TYPE, ERR_DIFF_TYPE, ERR_BATCH, ERR_DEVICE, ERR_NOT_SUPPORTED, ERR_NOT_CONFIGURED, ERR_NO_DBL, ERR_NO_GFX, ERR_INTERNAL, ERR_UNKNOWN, }

Error codes

Variants

The function returned successfully

The system or device ran out of memory

There was an error in the device driver

There was an error with the runtime environment

The input array is not a valid Array object

One of the function arguments is incorrect

The size is incorrect

The type is not suppported by this function

The type of the input arrays are not compatible

Function does not support GFOR / batch mode

Input does not belong to the current device

The option is not supported

This build of ArrayFire does not support this feature

This device does not support double

This build of ArrayFire was not built with graphics or this device does not support graphics

There was an internal error either in ArrayFire or in a project upstream

Unknown Error

Trait Implementations

impl Clone for AfError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for AfError
[src]

impl Debug for AfError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for AfError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for AfError
[src]

Formats the value using the given formatter. Read more

impl Error for AfError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<i32> for AfError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for AfError

impl Sync for AfError