zlayer-libcgroups 0.6.1-zlayer.4

Library for cgroup — ZLayer fork carrying open upstream PRs; see https://github.com/ZachHandley/youki
Documentation
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>;
}