pub fn parse_positive_size_value(
value: Option<&str>,
default_value: usize,
maximum: usize,
) -> usizeExpand description
Parses a positive size with a safe default and upper bound.
§Parameters
value: Input consumed bycrate::binaries::parse_positive_size_value.default_value: Input consumed bycrate::binaries::parse_positive_size_value.maximum: Input consumed bycrate::binaries::parse_positive_size_value.
§Returns
Returns the computed value produced by crate::binaries::parse_positive_size_value.
§Examples
ⓘ
let _result = pharos_native::binaries::parse_positive_size_value("value", todo!(), todo!());§Related
crate::binariesfor adjacent helpers that share the same runtime surface.