Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment tryToU32

std/conv::tryToU32


Generics

◻ T: TryToU32

Inputs

⇥ value: Stream<T>

Outputs

↦ into: Stream<Option<u32>>


Try to turn data stream into u32 one.

This treatment manages faillible conversion to u32 data type. If conversion is successful, an option with u32 value is streamed, else the option is set to none.