Skip to main content

positive_u32

Function positive_u32 

Source
fn positive_u32(value: Option<i32>) -> Option<u32>
Expand description

Reads an optional wire-side duration, mapping absent, zero, and negative alike onto None so the caller applies its fallback.