pub struct ActorInstrumented<T> { /* private fields */ }
Expand description

An actor future that has been instrumented with a tracing span.

Implementations

Borrows the Span that this type is instrumented by.

Mutably borrows the Span that this type is instrumented by.

Borrows the wrapped type.

Mutably borrows the wrapped type.

Get a pinned reference to the wrapped type.

Get a pinned mutable reference to the wrapped type.

Consumes the Instrumented, returning the wrapped type.

Note that this drops the span.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

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

Wrap the future in a Box, pinning it. Read more

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

The type of successful values yielded by this actor future

The type of failures yielded by this actor future

Poll this ActorTryFuture as if it were a ActorFuture. Read more

Executes another actor future after this one resolves successfully. The success value is passed to a closure to create this subsequent actor future. Read more

Maps this actor future’s success value to a different value. Read more

Maps this actor future’s error value to a different value. 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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

Uses borrowed data to replace owned data, usually by cloning. Read more

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