Struct futures::sync::oneshot::Canceled [] [src]

pub struct Canceled;

Error returned from a Receiver<T> whenever the correponding Sender<T> is dropped.

Trait Implementations

impl Clone for Canceled
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Canceled
[src]

impl PartialEq for Canceled
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Canceled
[src]

impl Debug for Canceled
[src]

Formats the value using the given formatter.

impl Display for Canceled
[src]

Formats the value using the given formatter. Read more

impl Error for Canceled
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more