[][src]Module coercible_errors::example_generated

This module contains the traits and types defined by coercible_errors!.

Re-exports

pub use $crate::Never;
pub use $crate::OkResult;

Structs

MyError

A dummy error type to demonstrate coercible_errors.

Traits

CoercibleWith

A trait used to determine how to best coerce two error types.

Type Definitions

CoercedError

A shortcut for building the coerced error type, given two error types, which must both be either $error or Never.

CoercedResult

A shortcut for building the coerced result type, given one value type and two error types, which must both be either $error or Never.