Enum fixed_slice_vec::single::EmbedValueError
source · [−]pub enum EmbedValueError<E> {
SplitUninitError(SplitUninitError),
ConstructionError(E),
}
Expand description
Plenty can go wrong when attempting to embed a value in arbitrary bytes
Variants
SplitUninitError(SplitUninitError)
Difficulty generating the necessary mutable reference to the embedded location.
ConstructionError(E)
Initializing the value went wrong somehow.
Trait Implementations
sourceimpl<E: Debug> Debug for EmbedValueError<E>
impl<E: Debug> Debug for EmbedValueError<E>
sourceimpl<E> From<SplitUninitError> for EmbedValueError<E>
impl<E> From<SplitUninitError> for EmbedValueError<E>
sourcefn from(e: SplitUninitError) -> Self
fn from(e: SplitUninitError) -> Self
Converts to this type from the input type.
sourceimpl<E: PartialEq> PartialEq<EmbedValueError<E>> for EmbedValueError<E>
impl<E: PartialEq> PartialEq<EmbedValueError<E>> for EmbedValueError<E>
sourcefn eq(&self, other: &EmbedValueError<E>) -> bool
fn eq(&self, other: &EmbedValueError<E>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EmbedValueError<E>) -> bool
fn ne(&self, other: &EmbedValueError<E>) -> bool
This method tests for !=
.
impl<E> StructuralPartialEq for EmbedValueError<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for EmbedValueError<E> where
E: RefUnwindSafe,
impl<E> Send for EmbedValueError<E> where
E: Send,
impl<E> Sync for EmbedValueError<E> where
E: Sync,
impl<E> Unpin for EmbedValueError<E> where
E: Unpin,
impl<E> UnwindSafe for EmbedValueError<E> where
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more