pub fn read_from(
path: impl AsRef<Path>,
position: &Position,
) -> Result<Continuation>Expand description
Read the entries written to a session log since position.
An incomplete last line is left for the next call. Compressing or restoring a session does not affect its position. A compressed log is decompressed from the start on every call.
A replaced log is found by comparing up to 4 KiB at the start and before the position, so a change between those is not reported.