Skip to main content

replacement_history

Function replacement_history 

Source
pub fn replacement_history(
    summary: Option<String>,
    retained_tail: Vec<ClientResponseItem>,
) -> Result<ClientCompactResponseBody, TransformError>
Expand description

Construct the exact client response envelope consumed by CompactClient. The caller replaces history with this full array; no native encrypted block is invented and retained tail items are preserved in their original order.