Skip to main content

bind

Function bind 

Source
pub fn bind<R: BufRead>(
    export: R,
    run: RunId,
    last_seq: Option<u64>,
    content: Vec<u8>,
) -> Result<Sidecar, BindError>
Expand description

Bind content to the prefix of run ending at last_seq (by default its last record present), as an unsigned sidecar.

§Errors

A run the export does not carry or that does not verify, or a last_seq naming no record present.