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 iscore::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 typeE
inResult<T, E>
.
Functions
- request_refExperimentalRequest a reference of type
T
from the givenimpl Error
. - request_valueExperimentalRequest a value of type
T
from the givenimpl Error
.