Skip to main content

conf_positive_size_value

Function conf_positive_size_value 

Source
pub fn conf_positive_size_value(
    value: Option<&str>,
    default_value: usize,
) -> usize
Expand description

Returns a positive configured size, bounded to the native worker limits.

§Parameters

§Returns

Returns the computed value produced by crate::binaries::conf_positive_size_value.

§Examples

ⓘ
let _result = pharos_native::binaries::conf_positive_size_value("value", todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.