Treatment tryToU16
std/conv::tryToU16
Generics
◻ T:
TryToU16
Inputs
⇥ value:
Stream<T>
Outputs
↦ into:
Stream<Option<u16>>
Try to turn data stream into u16
one.
This treatment manages faillible conversion to u16
data type.
If conversion is successful, an option with u16
value is streamed, else the option is set to none.