Skip to main content

read_bounded_u8

Function read_bounded_u8 

Source
pub fn read_bounded_u8<L>(
    lookup: &L,
    key: &str,
    default: u8,
    min: u8,
    max: u8,
) -> u8
Expand description

Reads a bounded u8 from a runtime configuration lookup.