Skip to main content

limits_of

Function limits_of 

Source
pub fn limits_of<'a>(
    outcomes: &'a [Outcome],
    phone: &str,
    now_ms: i64,
) -> Option<(i64, &'a [Limits])>
Expand description

What a phone last said its carriers let it send (its newest “limits” line), and when (ms); none before it said. A line dated more than LIMITS_AHEAD_MS ahead of now_ms (the reader’s clock) is passed over: a phone whose clock was once set ahead would otherwise be read by it until that date, whatever it said since.