Skip to main content

read_profile

Function read_profile 

Source
pub fn read_profile<R: AttributeReader, const N: usize>(
    reader: &mut R,
    source: &Source<'_>,
    range: ClockRange,
    destination: &mut Profile<'_, N>,
) -> Result<Counts, ReadError<R::Error>>
Expand description

Read the inclusive clock range from an existing association. A single-slot range can backfill an instant returned by [taf15::Profile::missing]. Exact repeats increment the duplicate count. On error all records and holes stay intact.

The meter must supply coherent capture metadata and rows for the duration of a read. A range can return fewer rows than requested, including none.