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 tryToI8

std/conv::tryToI8


Generics

◻ T: TryToI8

Inputs

⇥ value: Stream<T>

Outputs

↦ into: Stream<Option<i8>>


Try to turn data stream into i8 one.

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