Struct cucumber_rust::Steps [−][src]
Implementations
impl<W: World> Steps<W>
[src]
pub fn new() -> Steps<W>
[src]
pub fn given_async(
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
pub fn when_async(
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
pub fn then_async(
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
pub fn given(
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Rc<Step>) -> W
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Rc<Step>) -> W
) -> &mut Self
pub fn when(
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Rc<Step>) -> W
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Rc<Step>) -> W
) -> &mut Self
pub fn then(
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Rc<Step>) -> W
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Rc<Step>) -> W
) -> &mut Self
pub fn given_regex_async(
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Vec<String>, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Vec<String>, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
pub fn when_regex_async(
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Vec<String>, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Vec<String>, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
pub fn then_regex_async(
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Vec<String>, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: Rc<dyn Fn(W, Vec<String>, Rc<Step>) -> Pin<Box<dyn Future<Output = Result<W, TestError>>>> + UnwindSafe>
) -> &mut Self
pub fn given_regex(
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Vec<String>, _: Rc<Step>) -> W
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Vec<String>, _: Rc<Step>) -> W
) -> &mut Self
pub fn when_regex(
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Vec<String>, _: Rc<Step>) -> W
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Vec<String>, _: Rc<Step>) -> W
) -> &mut Self
pub fn then_regex(
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Vec<String>, _: Rc<Step>) -> W
) -> &mut Self
[src]
&mut self,
name: &'static str,
test_fn: fn(_: W, _: Vec<String>, _: Rc<Step>) -> W
) -> &mut Self
Trait Implementations
Auto Trait Implementations
impl<W> !RefUnwindSafe for Steps<W>
[src]
impl<W> !Send for Steps<W>
[src]
impl<W> !Sync for Steps<W>
[src]
impl<W> Unpin for Steps<W>
[src]
impl<W> !UnwindSafe for Steps<W>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,