Skip to main content

ExecCallback

Type Alias ExecCallback 

Source
pub type ExecCallback<'a> = &'a dyn Fn(&str) -> Result<CommandResult, RustBashError>;
Expand description

Callback type for sub-command execution (e.g. xargs, find -exec).