pub trait ResourceCtrlFactory: Sync + Send {
// Required methods
fn matches(&self, config: Config<ResourceConfigBody>) -> bool;
fn create(&self, skel: ResourceSkel) -> Result<Arc<dyn ResourceCtrl>, Error>;
}
pub trait ResourceCtrlFactory: Sync + Send {
// Required methods
fn matches(&self, config: Config<ResourceConfigBody>) -> bool;
fn create(&self, skel: ResourceSkel) -> Result<Arc<dyn ResourceCtrl>, Error>;
}