[][src]Enum onednn_sys::dnnl_status_t

#[repr(u32)]
#[non_exhaustive]pub enum dnnl_status_t {
    dnnl_success,
    dnnl_out_of_memory,
    dnnl_invalid_arguments,
    dnnl_unimplemented,
    dnnl_iterator_ends,
    dnnl_runtime_error,
    dnnl_not_required,
}

Status values returned by the library functions.

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

The operation was successful

dnnl_out_of_memory

The operation failed due to an out-of-memory condition

dnnl_invalid_arguments

The operation failed because of incorrect function arguments

dnnl_unimplemented

The operation failed because requested functionality is not implemented

dnnl_iterator_ends

Primitive iterator passed over last primitive descriptor

dnnl_runtime_error

Primitive or engine failed on execution

dnnl_not_required

Queried element is not required for given primitive

Trait Implementations

impl Clone for dnnl_status_t[src]

impl Copy for dnnl_status_t[src]

impl Debug for dnnl_status_t[src]

impl Eq for dnnl_status_t[src]

impl Hash for dnnl_status_t[src]

impl PartialEq<dnnl_status_t> for dnnl_status_t[src]

impl StructuralEq for dnnl_status_t[src]

impl StructuralPartialEq for dnnl_status_t[src]

Auto Trait Implementations

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.