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>.

Enums

The empty type for cases which can’t occur.

Traits

Extensions to Result<Void, E>

Extensions to Result<T, Void>

Functions

A safe version of intrinsincs::unreachable.