Function |try_to_u8
std/conv::|try_to_u8
Usage
|try_to_u8<T>(value)
Generics
◻ T:
TryToU8
Parameters
↳ value:
T
Return
↴ Option<u8>
Try to turn data into u8
.
This function returns an Option
containing value if conversion is successful.