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 tryToString

std/conv::tryToString


Generics

◻ T: TryToString

Inputs

⇥ value: Stream<T>

Outputs

↦ into: Stream<Option<string>>


Try to turn data stream into string one.

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