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 thepushmethod when trying to append a value to a queue that is already fullQueueEmpty- Returned by thepopmethod 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 MSQErrorimpl UnwindSafe for MSQErrorBlanket Implementations
Mutably borrows from an owned value. Read more