Enum orx_imp_vec::prelude::PinnedVecGrowthError
source ยท 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
sourceยงfn eq(&self, other: &PinnedVecGrowthError) -> bool
fn eq(&self, other: &PinnedVecGrowthError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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ยงdefault unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit)sourceยงimpl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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)