Trait cucumber_rust::World[][src]

pub trait World: Sized + 'static {
    type Error: Error;
#[must_use]    fn new<'async_trait>(
    ) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + 'async_trait>>
    where
        Self: 'async_trait
; }

The World trait represents shared user-defined state for a cucumber run.

Associated Types

Loading content...

Required methods

#[must_use]fn new<'async_trait>(
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + 'async_trait>> where
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...