Struct ocl::OclCoreError [−][src]
pub struct OclCoreError { /* fields omitted */ }
An Error.
Methods
impl Error
[src]
impl Error
pub fn api_status(&self) -> Option<Status>
[src]
pub fn api_status(&self) -> Option<Status>
Returns the error status code for Status
variants.
pub fn kind(&self) -> &ErrorKind
[src]
pub fn kind(&self) -> &ErrorKind
Returns the error variant and contents.
pub fn cause(&self) -> Option<&(Fail + 'static)>
[src]
pub fn cause(&self) -> Option<&(Fail + 'static)>
Returns the immediate cause of this error (e.g. the next error in the chain).
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Fail for Error
[src]
impl Fail for Error
fn cause(&self) -> Option<&(Fail + 'static)>
[src]
fn cause(&self) -> Option<&(Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it carries one. Read more
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
[src]
fn compat(self) -> Compat<Self>
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<IntoStringError> for Error
[src]
impl From<IntoStringError> for Error
fn from(err: IntoStringError) -> Error
[src]
fn from(err: IntoStringError) -> Error
Performs the conversion.
impl From<FromUtf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
fn from(err: FromUtf8Error) -> Error
[src]
fn from(err: FromUtf8Error) -> Error
Performs the conversion.
impl<'a> From<&'a str> for Error
[src]
impl<'a> From<&'a str> for Error
impl From<ApiWrapperError> for Error
[src]
impl From<ApiWrapperError> for Error
impl From<EmptyInfoResultError> for Error
[src]
impl From<EmptyInfoResultError> for Error
fn from(err: EmptyInfoResultError) -> Error
[src]
fn from(err: EmptyInfoResultError) -> Error
Performs the conversion.
impl From<NulError> for Error
[src]
impl From<NulError> for Error
impl From<UtilError> for Error
[src]
impl From<UtilError> for Error
impl From<ApiError> for Error
[src]
impl From<ApiError> for Error
impl From<ProgramBuildError> for Error
[src]
impl From<ProgramBuildError> for Error
impl From<Context<ErrorKind>> for Error
[src]
impl From<Context<ErrorKind>> for Error
impl From<ErrorKind> for Error
[src]
impl From<ErrorKind> for Error
impl From<String> for Error
[src]
impl From<String> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<VersionLowError> for Error
[src]
impl From<VersionLowError> for Error
impl From<OclCoreError> for BufferCmdError
[src]
impl From<OclCoreError> for BufferCmdError
fn from(err: OclCoreError) -> BufferCmdError
[src]
fn from(err: OclCoreError) -> BufferCmdError
Performs the conversion.
impl From<OclCoreError> for Error
[src]
impl From<OclCoreError> for Error
fn from(err: OclCoreError) -> Error
[src]
fn from(err: OclCoreError) -> Error
Performs the conversion.