pub struct WithObservers<E: Debug, OT: Debug> { /* private fields */ }
Expand description

A wrapper for any Executor to make it implement HasObservers using a given ObserversTuple.

Implementations

Wraps the given Executor with the given ObserversTuple to implement HasObservers.

If the executor already implements HasObservers, then the original implementation will be overshadowed by the implementation of this wrapper.

Trait Implementations

Formats the value using the given formatter. Read more

Instruct the target about the input and run

Wraps this Executor with the given ObserversTuple to implement HasObservers. Read more

Custom Reset Handler, e.g., to reset timers

Get the linked observers

Get the linked observers (mutable)

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

Returns the argument unchanged.

Calls U::from(self).

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

The Resulting TupleList, of an Prepend::prepend() call, including the prepended entry. Read more

Prepend a value to this tuple, returning a new tuple with prepended 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.