Skip to main content

parse_cgroups

Function parse_cgroups 

Source
pub fn parse_cgroups(value: &str) -> Result<Vec<CgroupTarget>, String>
Expand description

Parse a list of control groups: a comma list of name:path. A name is letters, digits, _ and -, and is given once. An error does not name the setting it was read from; the caller does.