pub enum ScqError {
IndexLargerThanOrder,
QueueFull,
QueueFinalized,
}Variants§
IndexLargerThanOrder
The items inserted will get corrupted if they are greater or equal to 2 ^ (order + 1).
QueueFull
The queue is completely filled.
QueueFinalized
The queue is finalized.
Trait Implementations§
Source§impl Error for ScqError
impl Error for ScqError
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for ScqError
impl Eq for ScqError
impl StructuralPartialEq for ScqError
Auto Trait Implementations§
impl Freeze for ScqError
impl RefUnwindSafe for ScqError
impl Send for ScqError
impl Sync for ScqError
impl Unpin for ScqError
impl UnwindSafe for ScqError
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