Crate void

source ·
Expand description

Void

The uninhabited void type for use in statically impossible cases.

In its own crate so all the users in the ecosystem can share the same type. This crate also comes ready with several extension traits for Result that add extra functionality to Result<T, Void> and Result<Void, E>.

Modules

Enums

  • The empty type for cases which can’t occur.

Traits

Functions