Struct telescope::discord_bot::ListeningFuture[][src]

struct ListeningFuture {
    inner: LocalBoxFuture<'static, SerenityResult<()>>,
}
Expand description

Future representing the indefinite async computation of the Discord bot listening for events.

Fields

inner: LocalBoxFuture<'static, SerenityResult<()>>

Trait Implementations

The type of value that this future will resolved with if it is successful. Read more

The actor within which this future runs

Map this future’s result to a different type, returning a new future of the resulting type. Read more

Chain on a computation for when a future finished, passing the result of the future to the provided closure f. Read more

Add timeout to futures chain. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The future that this type can be converted into.

The item that the future may resolve with.

The actor within which this future runs

Consumes this object and produces a future.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more