#[repr(u8)]pub enum CArcArrayError {
AllocationError = 0,
ArraySizeOutOfRange = 1,
}Expand description
Represents possible errors when working with CArc.
Variants§
AllocationError = 0
The underlying allocator returned an error.
ArraySizeOutOfRange = 1
The array size is out of range.
Trait Implementations§
Source§impl Clone for CArcArrayError
impl Clone for CArcArrayError
Source§fn clone(&self) -> CArcArrayError
fn clone(&self) -> CArcArrayError
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 CArcArrayError
Source§impl Debug for CArcArrayError
impl Debug for CArcArrayError
Source§impl Display for CArcArrayError
impl Display for CArcArrayError
impl Eq for CArcArrayError
Source§impl From<Infallible> for CArcArrayError
impl From<Infallible> for CArcArrayError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Source§impl Hash for CArcArrayError
impl Hash for CArcArrayError
Source§impl PartialEq for CArcArrayError
impl PartialEq for CArcArrayError
Source§fn eq(&self, other: &CArcArrayError) -> bool
fn eq(&self, other: &CArcArrayError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReprC for CArcArrayError
impl ReprC for CArcArrayError
impl StructuralPartialEq for CArcArrayError
Auto Trait Implementations§
impl Freeze for CArcArrayError
impl RefUnwindSafe for CArcArrayError
impl Send for CArcArrayError
impl Sync for CArcArrayError
impl Unpin for CArcArrayError
impl UnsafeUnpin for CArcArrayError
impl UnwindSafe for CArcArrayError
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