Struct futures::sync::oneshot::Canceled [−][src]
pub struct Canceled;
Error returned from a Receiver<T>
whenever the corresponding Sender<T>
is dropped.
Trait Implementations
impl Clone for Canceled
[src]
impl Clone for Canceled
fn clone(&self) -> Canceled
[src]
fn clone(&self) -> Canceled
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 Copy for Canceled
[src]
impl Copy for Canceled
impl PartialEq for Canceled
[src]
impl PartialEq for Canceled
fn eq(&self, other: &Canceled) -> bool
[src]
fn eq(&self, other: &Canceled) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Canceled
[src]
impl Eq for Canceled
impl Debug for Canceled
[src]
impl Debug for Canceled
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 Display for Canceled
[src]
impl Display for Canceled
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Canceled
[src]
impl Error for Canceled