Enum multi_stack_queue::MSQError [−][src]
pub enum MSQError { QueueFull, QueueEmpty, QueueIndexOutOfBounds, UnknowmError, }
Expand description
Errors that may be encountered during use of the MultiStackQueue
QueueFull
- Returned by thepush
method when trying to append a value to a queue that is already fullQueueEmpty
- Returned by thepop
method when trying to pop a value from an empty queueQueueIndexOutOfBounds
- When trying to access a queue beyond the multiqueueUnknownError
- This should never happen. Used for development
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MSQError
impl UnwindSafe for MSQError
Blanket Implementations
Mutably borrows from an owned value. Read more