pub enum PinnedVecGrowthError {
CanOnlyGrowWhenVecIsAtCapacity,
FailedToGrowWhileKeepingElementsPinned,
}
Expand description
Error occurred during an attempt to increase capacity of the pinned vector.
Variants§
CanOnlyGrowWhenVecIsAtCapacity
An error stating that the vector is only allowed to grow if its entire current capacity is used.
FailedToGrowWhileKeepingElementsPinned
An error which is observed when a pinned vector attempted to increase its capacity while keeping its already added elements pinned in their locations.
Trait Implementations§
source§impl Clone for PinnedVecGrowthError
impl Clone for PinnedVecGrowthError
source§fn clone(&self) -> PinnedVecGrowthError
fn clone(&self) -> PinnedVecGrowthError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PinnedVecGrowthError
impl Debug for PinnedVecGrowthError
source§impl PartialEq for PinnedVecGrowthError
impl PartialEq for PinnedVecGrowthError
impl Copy for PinnedVecGrowthError
impl Eq for PinnedVecGrowthError
impl StructuralPartialEq for PinnedVecGrowthError
Auto Trait Implementations§
impl Freeze for PinnedVecGrowthError
impl RefUnwindSafe for PinnedVecGrowthError
impl Send for PinnedVecGrowthError
impl Sync for PinnedVecGrowthError
impl Unpin for PinnedVecGrowthError
impl UnwindSafe for PinnedVecGrowthError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)