Skip to main content

Module values

Module values 

Source
Expand description

Config value newtypes: memory sizes and durations

Structs§

MemSize
A memory quantity in bytes, used for memory-limit thresholds
UpDuration
A duration from the Flockfile grammar ^\d+(ms|h|m|s)?$

Enums§

ParseMemSizeError
Failure to parse a MemSize from the grammar ^\d+(G|M|K)?$
ParseUpDurationError
Failure to parse an UpDuration from the grammar ^\d+(ms|h|m|s)?$