when

Function when 

Source
pub fn when<F, R>(description: impl Into<String>, body: F) -> R
where F: FnOnce() -> R,
Expand description

Executes a “When” step (action).