Expand description
Traits for working with Errors.
§Usage
If you’re a library, you should reexport all the features exposed by this crate.
Structs§
- Report
Experimental - An error reporter that prints an error and its sources.
- Request
Experimental Requestsupports generic, type-driven access to data. Its 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 iscore::error::Errorwhich would otherwise require a method per concrete type (eg.std::backtrace::Backtraceinstance that implementors want to expose to users).
Traits§
- Error
Erroris a trait representing the basic expectations for error values, i.e., values of typeEinResult<T, E>.
Functions§
- request_
ref Experimental - Requests a reference of type
Tfrom the givenimpl Error. - request_
value Experimental - Requests a value of type
Tfrom the givenimpl Error.