Enum npnc::ConsumeError
[−]
[src]
pub enum ConsumeError { Disconnected, Empty, }
Indicates the reason a consume
operation could not return an item.
Variants
Disconnected
The queue was empty and had no remaining producers.
Empty
The queue was empty.
Trait Implementations
impl Copy for ConsumeError
[src]
impl Clone for ConsumeError
[src]
fn clone(&self) -> ConsumeError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ConsumeError
[src]
impl PartialEq for ConsumeError
[src]
fn eq(&self, __arg_0: &ConsumeError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for ConsumeError
[src]
impl Error for ConsumeError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more