Enum fixed_slice_vec::single::SplitUninitError [−][src]
pub enum SplitUninitError { ZeroSizedTypesUnsupported, Unalignable, InsufficientSpace, }
Plenty can go wrong when attempting to find space for a value in arbitrary bytes.
Variants
Zero sized types shouldn’t be placed anywhere into a byte slice anyhow.
Could not calculate a valid alignment offset from the given the starting point which would result in a properly-aligned value.
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<E> From<SplitUninitError> for EmbedValueError<E>
[src]
impl<E> From<SplitUninitError> for EmbedValueError<E>
[src]fn from(e: SplitUninitError) -> Self
[src]
impl PartialEq<SplitUninitError> for SplitUninitError
[src]
impl PartialEq<SplitUninitError> for SplitUninitError
[src]fn eq(&self, other: &SplitUninitError) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralPartialEq for SplitUninitError
[src]
impl StructuralPartialEq for SplitUninitError
[src]