Treatment saturatingToI64
std/conv::saturatingToI64
Generics
◻ T:
SaturatingToI64
Inputs
⇥ value:
Stream<T>
Outputs
↦ into:
Stream<i64>
Turns stream into i64
one, saturating if needed.
This treatment manages saturating and infaillible conversion to i64
.
If incoming data represents something out of bounds for i64
, then
the resulting value is set to minimum or maximum, depending what is
the closest to truth.