pub enum TryPushInitError<I, E> {
Full(I),
InitError(E),
}Expand description
Error type for ArrayVec::try_push_init.
Variants§
Trait Implementations§
Source§impl<I, E> Debug for TryPushInitError<I, E>
impl<I, E> Debug for TryPushInitError<I, E>
Auto Trait Implementations§
impl<I, E> Freeze for TryPushInitError<I, E>
impl<I, E> RefUnwindSafe for TryPushInitError<I, E>where
I: RefUnwindSafe,
E: RefUnwindSafe,
impl<I, E> Send for TryPushInitError<I, E>
impl<I, E> Sync for TryPushInitError<I, E>
impl<I, E> Unpin for TryPushInitError<I, E>
impl<I, E> UnsafeUnpin for TryPushInitError<I, E>where
I: UnsafeUnpin,
E: UnsafeUnpin,
impl<I, E> UnwindSafe for TryPushInitError<I, E>where
I: UnwindSafe,
E: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.