devela::_dep::rkyv::bytecheck::rancor

Trait Never

pub unsafe trait Never { }
Available on crate feature dep_rkyv only.
Expand description

A type that can never be produced.

Never types include the unstable ! type, enums with no variants, or any type that always contains a never type (e.g. a struct with a Never field).

§Safety

It must be impossible to produce a value of this type.

Implementors§

§

impl Never for Infallible

§

impl Never for Panic