Struct fil_ocl::OclCoreError [−][src]
An Error.
Implementations
impl Error
[src]
pub fn api_status(&self) -> Option<Status>
[src]
Returns the error status code for Status
variants.
pub fn kind(&self) -> &ErrorKind
[src]
Returns the error variant and contents.
pub fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
Returns the immediate cause of this error (e.g. the next error in the chain).
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Fail for Error
[src]
pub fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn name(&self) -> Option<&str>
[src]
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
[src]
impl<'a> From<&'a str> for Error
[src]
impl From<ApiError> for Error
[src]
impl From<ApiWrapperError> for Error
[src]
impl From<Context<ErrorKind>> for Error
[src]
impl From<EmptyInfoResultError> for Error
[src]
pub fn from(err: EmptyInfoResultError) -> Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for BufferCmdError
[src]
fn from(err: OclCoreError) -> BufferCmdError
[src]
impl From<Error> for Error
[src]
fn from(err: OclCoreError) -> Error
[src]
impl From<ErrorKind> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
pub fn from(err: FromUtf8Error) -> Error
[src]
impl From<IntoStringError> for Error
[src]
pub fn from(err: IntoStringError) -> Error
[src]
impl From<NulError> for Error
[src]
impl From<ProgramBuildError> for Error
[src]
impl From<String> for Error
[src]
impl From<UtilError> for Error
[src]
impl From<VersionLowError> for Error
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,