rlmctl-common 0.2.3

Shared limit, profile and config types for rlmctl (the rlm resource limit manager)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod config;
mod error;
mod limit;
mod util;

pub use config::{
    builtin_presets, is_protected, protect_set, AppRule, Config, GuardConfig, GuardSelection,
    GuardTiming, GuardTrigger, Profile, BUILTIN_PROTECT,
};
pub use error::{Error, Result, DELEGATION_HINT};
pub use limit::{parse_size, CpuLimit, IoLimit, Limit, MemoryLimit, MIN_IO_BPS, MIN_MEMORY_BYTES};
pub use util::{build_limit, format_bytes};