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