Enum collenchyma::device::Error
[−]
[src]
pub enum Error { Native(NativeError), OpenCL(OpenCLError), Cuda(CudaError), }
Defines a generic set of Memory Errors.
Variants
Native(NativeError)
Failures related to the Native framework implementation.
OpenCL(OpenCLError)
Failures related to the OpenCL framework implementation.
Cuda(CudaError)
Failures related to the Cuda framework implementation.
Trait Implementations
impl Debug for Error
[src]
impl Copy for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
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 Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<NativeError> for Error
[src]
fn from(err: NativeError) -> Error
Performs the conversion.
impl From<OpenCLError> for Error
[src]
fn from(err: OpenCLError) -> Error
Performs the conversion.