Enum drone_core::sync::spsc::oneshot::RecvError
[−]
[src]
pub enum RecvError<E> { Canceled, Complete(E), }
Error returned from Receiver::poll
.
Variants
Canceled
The corresponding Sender
is dropped.
Complete(E)
The corresponding Sender
is completed with an error.
Trait Implementations
impl<E: Debug> Debug for RecvError<E>
[src]
impl<E: Clone> Clone for RecvError<E>
[src]
fn clone(&self) -> RecvError<E>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<E: PartialEq> PartialEq for RecvError<E>
[src]
fn eq(&self, __arg_0: &RecvError<E>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RecvError<E>) -> bool
[src]
This method tests for !=
.