Module sgx_tstd::error

source ·
Expand description

Traits for working with Errors.

Structs

  • An error reporter that prints an error and its sources.
  • RequestExperimental
    Request supports generic, type-driven access to data. It’s use is currently restricted to the standard library in cases where trait authors wish to allow trait implementors to share generic information across trait boundaries. The motivating and prototypical use case is core::error::Error which would otherwise require a method per concrete type (eg. std::backtrace::Backtrace instance that implementors want to expose to users).

Traits

  • Error is a trait representing the basic expectations for error values, i.e., values of type E in Result<T, E>.

Functions

  • request_refExperimental
    Request a reference of type T from the given impl Error.
  • request_valueExperimental
    Request a value of type T from the given impl Error.