Skip to main content

sample_from_direct

Function sample_from_direct 

Source
pub fn sample_from_direct(
    value: &str,
    mpd_exchange: Exchange,
    max_rtt_us: u64,
) -> Result<UtcSample, TimingError>
Expand description

Sample from a direct scheme @value, taken at the midpoint of the MPD response exchange.

ยงErrors

TimingError when the value is not an accepted xs:dateTime or the exchange is bad.