pub trait Plugin: Send + Sync { // Required methods fn name(&self) -> String; fn execute(&self) -> i32; }
插件接口 trait