Skip to main content

parse_memory_max

Function parse_memory_max 

Source
pub fn parse_memory_max(value: &str) -> Option<Option<ByteSize>>
Expand description

Parses a MemoryMax value as systemctl show prints it: bytes, or infinity.