pub struct PushError<T>(pub T);
Expand description
Error type for Vec::push_within_capacity
.
Tuple Fields§
§0: T
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for PushError<T>where
T: Freeze,
impl<T> RefUnwindSafe for PushError<T>where
T: RefUnwindSafe,
impl<T> Send for PushError<T>where
T: Send,
impl<T> Sync for PushError<T>where
T: Sync,
impl<T> Unpin for PushError<T>where
T: Unpin,
impl<T> UnwindSafe for PushError<T>where
T: 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
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot
. Read more