#[repr(u8)]pub enum Error<R = Infallible> {
Order {
start: usize,
end: usize,
capacity: usize,
},
Bounds {
start: usize,
end: usize,
capacity: usize,
},
Retain(R),
}Variants§
Trait Implementations§
impl<R: Copy> Copy for Error<R>
impl<R: Eq> Eq for Error<R>
impl<R: PartialEq> StructuralPartialEq for Error<R>
Auto Trait Implementations§
impl<R> Forget for Error<R>
impl<R> Freeze for Error<R>where
R: Freeze,
impl<R> RefUnwindSafe for Error<R>where
R: RefUnwindSafe,
impl<R> Send for Error<R>where
R: Send,
impl<R> Sync for Error<R>where
R: Sync,
impl<R> Unpin for Error<R>where
R: Unpin,
impl<R> UnsafeUnpin for Error<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for Error<R>where
R: UnwindSafe,
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