Skip to main content

from_context

Function from_context 

Source
pub fn from_context(ctx: &Context) -> Arc<dyn CommandRunner + Send + Sync>
Expand description

Ported from FromContext. Panics with ErrRunnerMissing if no runner is on the context, matching the Go behavior.