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]

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. Read more

impl Display for Canceled
[src]

Formats the value using the given formatter. Read more

impl Error for Canceled
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for Canceled

impl Sync for Canceled