Enum cucumber::ScenarioType
source · [−]pub enum ScenarioType {
Serial,
Concurrent,
}
Expand description
Type determining whether Scenario
s should run concurrently or
sequentially.
Variants
Serial
Run Scenario
s sequentially (one-by-one).
Concurrent
Run Scenario
s concurrently.
Trait Implementations
sourceimpl Clone for ScenarioType
impl Clone for ScenarioType
sourcefn clone(&self) -> ScenarioType
fn clone(&self) -> ScenarioType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ScenarioType
impl Debug for ScenarioType
sourceimpl Hash for ScenarioType
impl Hash for ScenarioType
sourceimpl PartialEq<ScenarioType> for ScenarioType
impl PartialEq<ScenarioType> for ScenarioType
impl Copy for ScenarioType
impl Eq for ScenarioType
impl StructuralEq for ScenarioType
impl StructuralPartialEq for ScenarioType
Auto Trait Implementations
impl RefUnwindSafe for ScenarioType
impl Send for ScenarioType
impl Sync for ScenarioType
impl Unpin for ScenarioType
impl UnwindSafe for ScenarioType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Ext for T
impl<T> Ext for T
sourcefn assert_normalized(self) -> AssertNormalized<Self>
fn assert_normalized(self) -> AssertNormalized<Self>
Asserts this Writer
being Normalized
. Read more
sourcefn normalized<W>(self) -> Normalize<W, Self>
fn normalized<W>(self) -> Normalize<W, Self>
sourcefn summarized(self) -> Summarize<Self>
fn summarized(self) -> Summarize<Self>
sourcefn fail_on_skipped(self) -> FailOnSkipped<Self>
fn fail_on_skipped(self) -> FailOnSkipped<Self>
sourcefn fail_on_skipped_with<F>(self, f: F) -> FailOnSkipped<Self, F> where
F: Fn(&Feature, Option<&Rule>, &Scenario) -> bool,
fn fail_on_skipped_with<F>(self, f: F) -> FailOnSkipped<Self, F> where
F: Fn(&Feature, Option<&Rule>, &Scenario) -> bool,
sourcefn repeat_skipped<W>(self) -> Repeat<W, Self>
fn repeat_skipped<W>(self) -> Repeat<W, Self>
sourcefn repeat_failed<W>(self) -> Repeat<W, Self>
fn repeat_failed<W>(self) -> Repeat<W, Self>
sourcefn repeat_if<W, F>(self, filter: F) -> Repeat<W, Self, F> where
F: Fn(&Result<Event<Cucumber<W>>>) -> bool,
fn repeat_if<W, F>(self, filter: F) -> Repeat<W, Self, F> where
F: Fn(&Result<Event<Cucumber<W>>>) -> bool,
sourcefn discard_arbitrary_writes(self) -> Arbitrary<Self>
fn discard_arbitrary_writes(self) -> Arbitrary<Self>
Wraps this Writer
into a discard::Arbitrary
one, providing a
no-op ArbitraryWriter
implementation. Read more
sourcefn discard_failure_writes(self) -> Failure<Self>
fn discard_failure_writes(self) -> Failure<Self>
Wraps this Writer
into a discard::Arbitrary
one, providing a
no-op FailureWriter
implementation returning only 0
. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more