Enum ocl::async::Error [] [src]

pub enum Error {
    Ocl(OclError),
    MpscSendError(String),
    OneshotCanceled(OneshotCanceled),
    Other(Box<Error>),
}

An enum containing either a String or one of several other error types.

Implements the usual error traits.

Variants

Methods

impl Error
[src]

Returns a new Error::String with the given description.

If this is a String variant, concatenate txt to the front of the contained string. Otherwise, do nothing at all.

Trait Implementations

impl Error for Error
[src]

A short description of the error. Read more

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

impl From<OclError> for Error
[src]

Performs the conversion.

impl<T> From<SendError<T>> for Error
[src]

Performs the conversion.

impl From<OneshotCanceled> for Error
[src]

Performs the conversion.

impl From<Box<Error>> for Error
[src]

Performs the conversion.

impl From<()> for Error
[src]

Performs the conversion.

impl From<String> for Error
[src]

Performs the conversion.

impl<'a> From<&'a str> for Error
[src]

Performs the conversion.

impl From<NulError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Send for Error
[src]

impl Sync for Error
[src]