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 tryToU128

std/conv::tryToU128


Generics

◻ T: TryToU128

Inputs

⇥ value: Stream<T>

Outputs

↦ into: Stream<Option<u128>>


Try to turn data stream into u128 one.

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