[][src]Enum fixed_slice_vec::single::SplitUninitError

pub enum SplitUninitError {
    ZeroSizedTypesUnsupported,
    Unalignable,
    InsufficientSpace,
}

Plenty can go wrong when attempting to find space for a value in arbitrary bytes.

Variants

ZeroSizedTypesUnsupported

Zero sized types shouldn't be placed anywhere into a byte slice anyhow.

Unalignable

Could not calculate a valid alignment offset from the given the starting point which would result in a properly-aligned value.

InsufficientSpace

Could not theoretically fit the target value into the provided byte slice due to a combination of the type's alignment and size.

Trait Implementations

impl Debug for SplitUninitError[src]

impl<E> From<SplitUninitError> for EmbedValueError<E>[src]

impl PartialEq<SplitUninitError> for SplitUninitError[src]

impl StructuralPartialEq for SplitUninitError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.