pub struct ScenarioContext { /* private fields */ }
Expand description

A container for all scenario contexts

This container allows the running of code within a given scenario context.

Implementations

With the extracted immutable context, run the function f.

With the extracted mutable context, run the function f.

Trait Implementations

Formats the value using the given formatter. 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

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 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.