Module snafu::prelude[][src]

Expand description

Traits and macros used by most projects. Add use snafu::prelude::* to your code to quickly get started with SNAFU.

Re-exports

pub use crate::ensure;
pub use crate::OptionExt as _;
pub use crate::ResultExt as _;
pub use crate::whatever;
pub use crate::futures::TryFutureExt as _;
pub use crate::futures::TryStreamExt as _;

Derive Macros

The Snafu macro is the entrypoint to defining your own error types. It is designed to require little configuration for the recommended and typical usecases while still offering flexibility for unique situations.