Enum swap_buffer_queue::error::DequeueError
source · pub enum DequeueError {
Closed,
Conflict,
}
Expand description
Error returned by SynchronizedQueue::dequeue
/
SynchronizedQueue::dequeue_async
.
Variants§
Trait Implementations§
source§impl Clone for DequeueError
impl Clone for DequeueError
source§fn clone(&self) -> DequeueError
fn clone(&self) -> DequeueError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DequeueError
impl Debug for DequeueError
source§impl Display for DequeueError
impl Display for DequeueError
source§impl Error for DequeueError
impl Error for DequeueError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 DequeueError
impl PartialEq for DequeueError
source§fn eq(&self, other: &DequeueError) -> bool
fn eq(&self, other: &DequeueError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DequeueError
impl Eq for DequeueError
impl StructuralEq for DequeueError
impl StructuralPartialEq for DequeueError
Auto Trait Implementations§
impl RefUnwindSafe for DequeueError
impl Send for DequeueError
impl Sync for DequeueError
impl Unpin for DequeueError
impl UnwindSafe for DequeueError
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