Enum parenchyma::ErrorKind [] [src]

pub enum ErrorKind {
    Framework {
        name: &'static str,
    },
    BitMapCapacityExceeded,
    InvalidReshapedTensorSize,
    UninitializedMemory,
    AllocatedMemoryNotFoundForDevice,
    MemorySynchronizationFailed,
    NoAvailableSynchronizationRouteFound,
    MemoryAllocationFailed,
    Other,
    // some variants omitted
}

A set of general categories.

Variants

A framework-specific error.

Fields of Framework

The name of the framework. Consider creating an framework-specific error by calling the Error::from_framework function, rather than constructing an Error using this variant.

Maximum number of backing memories has been reached (BitMap - type alias for u64).

Invalid reshaped tensor size.

An error returned when attempting to access uninitialized memory.

Unable to drop the provided device because a memory allocation was not found for it.

An error occurred while attempting to synchronize memory.

A memory synchronization route was requested, but no available synchronization route was found.

An error occurred while attempting to allocate memory.

Any error not part of this list.

Trait Implementations

impl Clone for ErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ErrorKind
[src]

impl Debug for ErrorKind
[src]

Formats the value using the given formatter.

impl Eq for ErrorKind
[src]

impl Hash for ErrorKind
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Ord for ErrorKind
[src]

This method returns an Ordering between self and other. Read more

impl PartialEq for ErrorKind
[src]

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

This method tests for !=.

impl PartialOrd for ErrorKind
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more