#[repr(u8)]pub enum InlineDynamicArrayConstructionError {
AllocationError = 0,
ArrayTooLong = 1,
}
Expand description
Represents an error that occurs when constructing new InlineDynamicArray
.
Variants§
AllocationError = 0
The allocator failed to allocate memory.
ArrayTooLong = 1
The passed array is too long, it exceeds MAX_SIZE
.
Trait Implementations§
Source§impl Clone for InlineDynamicArrayConstructionError
impl Clone for InlineDynamicArrayConstructionError
Source§fn clone(&self) -> InlineDynamicArrayConstructionError
fn clone(&self) -> InlineDynamicArrayConstructionError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<AllocationError> for InlineDynamicArrayConstructionError
impl From<AllocationError> for InlineDynamicArrayConstructionError
Source§fn from(_: AllocationError) -> Self
fn from(_: AllocationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InlineDynamicArrayConstructionError
impl PartialEq for InlineDynamicArrayConstructionError
Source§fn eq(&self, other: &InlineDynamicArrayConstructionError) -> bool
fn eq(&self, other: &InlineDynamicArrayConstructionError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for InlineDynamicArrayConstructionError
impl Eq for InlineDynamicArrayConstructionError
impl StructuralPartialEq for InlineDynamicArrayConstructionError
Auto Trait Implementations§
impl Freeze for InlineDynamicArrayConstructionError
impl RefUnwindSafe for InlineDynamicArrayConstructionError
impl Send for InlineDynamicArrayConstructionError
impl Sync for InlineDynamicArrayConstructionError
impl Unpin for InlineDynamicArrayConstructionError
impl UnwindSafe for InlineDynamicArrayConstructionError
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