Struct corona::errors::Dropped [] [src]

pub struct Dropped;

An error marker when a future is dropped before having change to get resolved.

If you wait on a future and the corresponding executor gets destroyed before the future has a chance to run, this error is returned as there's no chance the future will ever get resolved. It is up to the waiter to clean up the stack, or use methods that panic implicitly.

Trait Implementations

impl Debug for Dropped
[src]

[src]

Formats the value using the given formatter.

impl Eq for Dropped
[src]

impl PartialEq for Dropped
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Ord for Dropped
[src]

[src]

This method returns an Ordering between self and other. Read more

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialOrd for Dropped
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for Dropped
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Error for Dropped
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl Display for Dropped
[src]

[src]

Formats the value using the given formatter. Read more