Module safe_transmute::error
source · Expand description
Detectable and recoverable-from transmutation precondition errors.
Structs§
- A slice boundary guard error, usually created by a
Guard
. - Incompatible vector transmutation error.
- Unaligned memory access error.
Enums§
- 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.
- How the type’s size compares to the received byte count and the transmutation function’s characteristic.