#[repr(u8)]pub enum CBoxError {
AllocationError = 0,
}Expand description
Represents possible errors when working with CBox.
Variants§
AllocationError = 0
The underlying allocator returned an error.
Trait Implementations§
impl Copy for CBoxError
impl Eq for CBoxError
Source§impl From<CBoxError> for CBoxTryCloneError
impl From<CBoxError> for CBoxTryCloneError
Source§impl From<Infallible> for CBoxError
impl From<Infallible> for CBoxError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for CBoxError
Auto Trait Implementations§
impl Freeze for CBoxError
impl RefUnwindSafe for CBoxError
impl Send for CBoxError
impl Sync for CBoxError
impl Unpin for CBoxError
impl UnsafeUnpin for CBoxError
impl UnwindSafe for CBoxError
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