[−][src]Struct fil_ocl::error::Error
An Error.
Methods
impl Error[src]
pub fn api_status(&self) -> Option<Status>[src]
Returns the error status code for OclCore variants.
pub fn kind(&self) -> &ErrorKind[src]
Returns the error variant and contents.
pub fn cause(&self) -> Option<&dyn Fail>[src]
Returns the immediate cause of this error (e.g. the next error in the chain).
Trait Implementations
impl Send for Error[src]
impl Sync for Error[src]
impl From<Error> for Error[src]
fn from(err: OclCoreError) -> Error[src]
impl<T> From<SendError<T>> for Error[src]
impl From<Canceled> for Error[src]
fn from(err: OneshotCanceled) -> Error[src]
impl From<String> for Error[src]
impl<'a> From<&'a str> for Error[src]
impl From<NulError> for Error[src]
impl From<Error> for Error[src]
impl From<BufferCmdError> for Error[src]
fn from(err: BufferCmdError) -> Error[src]
impl From<Error> for String[src]
impl Display for Error[src]
impl Debug for Error[src]
impl Fail for Error[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
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<E> Fail for E where
E: 'static + Error + Send + Sync, [src]
E: 'static + Error + Send + Sync,