Enum futures_core::never::Never[][src]

pub enum Never {}

A type with no possible values.

This is used to indicate values which can never be created, such as the error type of infallible futures.

This type is a stable equivalent to the ! type from std.

Methods

impl Never
[src]

Convert the Never type into any other type.

Trait Implementations

impl Debug for Never
[src]

Formats the value using the given formatter. Read more

impl Copy for Never
[src]

impl Clone for Never
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Never
[src]

impl PartialEq for Never
[src]

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

This method tests for !=.

impl Ord for Never
[src]

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

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for Never
[src]

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

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

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

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

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

impl Future for Never
[src]

A successful value

An error

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

impl Stream for Never
[src]

Values yielded by the stream.

Errors yielded by the stream.

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None if the stream is exhausted. Read more

Auto Trait Implementations

impl Send for Never

impl Sync for Never