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
Framework
A framework-specific error.
Fields of Framework
name: &'static str | The name of the framework. Consider creating an framework-specific error by calling
the |
BitMapCapacityExceeded
Maximum number of backing memories has been reached (BitMap
- type alias for u64
).
InvalidReshapedTensorSize
Invalid reshaped tensor size.
UninitializedMemory
An error returned when attempting to access uninitialized memory.
AllocatedMemoryNotFoundForDevice
Unable to drop the provided device because a memory allocation was not found for it.
MemorySynchronizationFailed
An error occurred while attempting to synchronize memory.
NoAvailableSynchronizationRouteFound
A memory synchronization route was requested, but no available synchronization route was found.
MemoryAllocationFailed
An error occurred while attempting to allocate memory.
Other
Any error not part of this list.
Trait Implementations
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ErrorKind
[src]
impl Debug for ErrorKind
[src]
impl Eq for ErrorKind
[src]
impl Hash for ErrorKind
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Ord for ErrorKind
[src]
fn cmp(&self, __arg_0: &ErrorKind) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl PartialEq for ErrorKind
[src]
fn eq(&self, __arg_0: &ErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ErrorKind) -> bool
This method tests for !=
.
impl PartialOrd for ErrorKind
[src]
fn partial_cmp(&self, __arg_0: &ErrorKind) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &ErrorKind) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &ErrorKind) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &ErrorKind) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &ErrorKind) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more