[−][src]Trait jackhammer::ActionFactory
Required methods
fn next_action(&mut self) -> BoxFuture<'static, Result<()>>
[src]
Implementations
impl dyn ActionFactory
[src]
pub fn from_fn<F, Fut>(factory_fn: F) -> impl ActionFactory where
F: FnMut() -> Fut + Send + Sync + 'static,
Fut: Future<Output = Result<()>> + Send + 'static,
[src]
F: FnMut() -> Fut + Send + Sync + 'static,
Fut: Future<Output = Result<()>> + Send + 'static,
Implementors
impl<F, Fut> ActionFactory for F where
F: FnMut() -> Fut + Send + Sync + 'static,
Fut: Future<Output = Result<()>> + Send + 'static,
[src]
F: FnMut() -> Fut + Send + Sync + 'static,
Fut: Future<Output = Result<()>> + Send + 'static,