Trait sgx_tstd::error::Error[][src]

pub trait Error: Debug + Display {
    fn description(&self) -> &str;

    fn cause(&self) -> Option<&Error> { ... }
fn type_id(&self) -> TypeId
    where
        Self: 'static
, { ... } }

Base functionality for all errors in Rust.

Required Methods

A short description of the error.

Provided Methods

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

Get the TypeId of self

Methods

impl Error + 'static
[src]

Returns true if the boxed type is the same as T

Returns some reference to the boxed value if it is of type T, or None if it isn't.

Returns some mutable reference to the boxed value if it is of type T, or None if it isn't.

impl Error + Send + 'static
[src]

Forwards to the method defined on the type Any.

Forwards to the method defined on the type Any.

Forwards to the method defined on the type Any.

impl Error + Send + Sync + 'static
[src]

Forwards to the method defined on the type Any.

Forwards to the method defined on the type Any.

Forwards to the method defined on the type Any.

impl Error
[src]

Attempt to downcast the box to a concrete type.

impl Error + Send
[src]

Attempt to downcast the box to a concrete type.

impl Error + Send + Sync
[src]

Attempt to downcast the box to a concrete type.

Implementations on Foreign Types

impl Error for AllocErr
[src]

impl Error for CannotReallocInPlace
[src]

impl Error for TryFromSliceError
[src]

impl Error for sgx_status_t
[src]

Implementors