1use std::sync::Arc; 2 3use crate::{context::CommandContext, errors::CommandSyntaxError}; 4 5pub type RedirectModifier<S> = 6 dyn Fn(&CommandContext<S>) -> Result<Vec<Arc<S>>, CommandSyntaxError> + Send + Sync;