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 Copy for ConsumeError
impl Clone for ConsumeError
[src]
impl Clone for ConsumeError
fn clone(&self) -> ConsumeError
[src]
fn clone(&self) -> ConsumeError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ConsumeError
[src]
impl Debug for ConsumeError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ConsumeError
[src]
impl PartialEq for ConsumeError
fn eq(&self, other: &ConsumeError) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ConsumeError
[src]
impl Eq for ConsumeError
impl Error for ConsumeError
[src]
impl Error for ConsumeError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for ConsumeError
[src]
impl Display for ConsumeError
Auto Trait Implementations
impl Send for ConsumeError
impl Send for ConsumeError
impl Sync for ConsumeError
impl Sync for ConsumeError