Struct fil_ocl::error::Error [−][src]
An Error.
Implementations
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 Debug for Error
[src]
impl Display for Error
[src]
impl Fail for Error
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]
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<BufferCmdError> for Error
[src]
fn from(err: BufferCmdError) -> Error
[src]
impl From<Canceled> for Error
[src]
fn from(err: OneshotCanceled) -> Error
[src]
impl From<Error> for Error
[src]
fn from(err: OclCoreError) -> Error
[src]
impl From<Error> for Error
[src]
impl From<NulError> for Error
[src]
impl<T> From<SendError<T>> for Error
[src]
impl From<String> for Error
[src]
impl Send for Error
[src]
impl Sync for Error
[src]
Auto Trait Implementations
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>,