Crate cex

source ·
Expand description

Checked exception simulation in Rust.

Macros

Structs

Checked exception
Recursive descent indices for IntoEnumX
A struct for tracing the propagation of the error.
Indicates an impossible index for Enum0, internal use only.

Enums

Traits

Indicates the prototype for an enum that participates in enum exchange.
Constructs a user-defined enum from another user-defined enum.
Converts a user-defined enum into another user-defined enum.
Constructs an ad-hoc enum from another one.
Constructs an enum from one of its variant type.
Converts into an enum as its variant.
Converts an ad-hoc enum into another one.
Converts a result containing a checked exception to a result containing another one.
Converts a result containing a plain error to a result containing a checked exception.
Converts a checked exception to another one.
Converts a plain error to a checked exception

Type Definitions