Struct heph::actor_ref::SendValue[][src]

pub struct SendValue<'r, M> { /* fields omitted */ }
Expand description

Future behind ActorRef::send.

Safety

It is not safe to leak this SendValue (by using mem::forget). Always make sure the destructor is run, by calling drop, or letting it go out of scope.

Trait Implementations

Formats the value using the given formatter. Read more

The type of value produced on completion.

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

Auto Trait Implementations

Blanket Implementations

An error the actor can return to its supervisor. This error will be considered terminal for this actor and should not be an error of regular processing of a message. Read more

Try to poll this actor. Read more

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.

Performs the conversion.

🔬 This is a nightly-only experimental API. (into_future)

The output that the future will produce on completion.

🔬 This is a nightly-only experimental API. (into_future)

Which kind of future are we turning this into?

🔬 This is a nightly-only experimental API. (into_future)

Creates a future from a value.

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.