#[repr(u8)]pub enum ArrayTryCloneError {
ArrayError(ArrayError),
ItemCloningError = 1,
}Variants§
ArrayError(ArrayError)
The underlying allocator returned an error, likely due to out of memory.
ItemCloningError = 1
Tried to clone internal item in the array, but cloning failed.
Trait Implementations§
Source§impl Clone for ArrayTryCloneError
impl Clone for ArrayTryCloneError
Source§fn clone(&self) -> ArrayTryCloneError
fn clone(&self) -> ArrayTryCloneError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ArrayTryCloneError
Source§impl Debug for ArrayTryCloneError
impl Debug for ArrayTryCloneError
Source§impl Display for ArrayTryCloneError
impl Display for ArrayTryCloneError
impl Eq for ArrayTryCloneError
Source§impl From<ArrayError> for ArrayTryCloneError
impl From<ArrayError> for ArrayTryCloneError
Source§fn from(err: ArrayError) -> Self
fn from(err: ArrayError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for ArrayTryCloneError
impl From<Infallible> for ArrayTryCloneError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Source§impl Hash for ArrayTryCloneError
impl Hash for ArrayTryCloneError
Source§impl PartialEq for ArrayTryCloneError
impl PartialEq for ArrayTryCloneError
Source§fn eq(&self, other: &ArrayTryCloneError) -> bool
fn eq(&self, other: &ArrayTryCloneError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReprC for ArrayTryCloneError
impl ReprC for ArrayTryCloneError
impl StructuralPartialEq for ArrayTryCloneError
Auto Trait Implementations§
impl Freeze for ArrayTryCloneError
impl RefUnwindSafe for ArrayTryCloneError
impl Send for ArrayTryCloneError
impl Sync for ArrayTryCloneError
impl Unpin for ArrayTryCloneError
impl UnsafeUnpin for ArrayTryCloneError
impl UnwindSafe for ArrayTryCloneError
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