Module safe_transmute::error[][src]

Detectable and recoverable-from transmutation precondition errors.

Structs

GuardError

A slice boundary guard error, usually created by a Guard.

IncompatibleVecTargetError

Incompatible vector transmutation error.

UnalignedError

Unaligned memory access error.

Enums

Error

A transmutation error. This type describes possible errors originating from operations in this crate. The two type parameters represent the source element type and the target element type respectively.

ErrorReason

How the type’s size compares to the received byte count and the transmutation function’s characteristic.