Skip to main content

expand

Function expand 

Source
pub fn expand(
    info: &ListInfo,
    timeline: Option<&TimelineIndex>,
    period_duration_ticks: Option<u64>,
) -> Result<Vec<ListSegment>, AddressError>
Expand description

Expand a SegmentList. period_duration_ticks shortens the last segment when the Period ends inside it (5.3.9.5.3).

ยงErrors

AddressError when entries cannot be timed or are empty.