pub trait CodexCommand: Send + Sync {
type Output: Send;
// Required methods
fn args(&self) -> Vec<String>;
fn execute(
&self,
codex: &Codex,
) -> impl Future<Output = Result<Self::Output>> + Send;
}Expand description
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".