1 2 3 4 5 6 7 8 9
use std::path::Path; use crate::common::ControllerOpt; pub(super) trait Controller { type Error; fn apply(controller_opt: &ControllerOpt, cgroup_path: &Path) -> Result<(), Self::Error>; }