replay

Function replay 

pub async fn replay(path: &Path) -> Result<InMemorySession>
Expand description

Read a journal file and reconstruct an InMemorySession.

If the file does not exist, returns an empty session.

ยงErrors

Returns an I/O error if the file cannot be read or contains invalid data (bad magic, unsupported version, or corrupt entries).