pub enum CommandQueueError {
QueueFull(CommandPriority),
RejectedByBarrier(CommandQueueMode),
}Expand description
Command queue error.
Variants§
QueueFull(CommandPriority)
Queue is full and caller must apply backpressure.
RejectedByBarrier(CommandQueueMode)
Barrier mode rejects this command.
Trait Implementations§
Source§impl Clone for CommandQueueError
impl Clone for CommandQueueError
Source§fn clone(&self) -> CommandQueueError
fn clone(&self) -> CommandQueueError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommandQueueError
Source§impl Debug for CommandQueueError
impl Debug for CommandQueueError
Source§impl Display for CommandQueueError
impl Display for CommandQueueError
impl Eq for CommandQueueError
Source§impl Error for CommandQueueError
impl Error for CommandQueueError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for CommandQueueError
impl PartialEq for CommandQueueError
impl StructuralPartialEq for CommandQueueError
Auto Trait Implementations§
impl Freeze for CommandQueueError
impl RefUnwindSafe for CommandQueueError
impl Send for CommandQueueError
impl Sync for CommandQueueError
impl Unpin for CommandQueueError
impl UnsafeUnpin for CommandQueueError
impl UnwindSafe for CommandQueueError
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