Function |try_to_u128

std/conv::|try_to_u128


Usage

|try_to_u128<T>(value)

Generics

◻ T: TryToU128

Parameters

↳ value: T

Return

↴ Option<u128>


Try to turn data into u128.

This function returns an Option containing value if conversion is successful.