Skip to main content

Module read

Module read 

Available on crate feature tokio only.
Expand description

Loading a session by replaying a journal file frame by frame.

Enumsยง

Outcome ๐Ÿ”’
What happened when trying to read a journal file.

Functionsยง

load ๐Ÿ”’
Loads session state from a journal file by streaming it frame by frame.
load_blocking ๐Ÿ”’
migrate ๐Ÿ”’
Replaces the journal at path with a snapshot of session in the current format. Appends need the current format.
read_header_blocking ๐Ÿ”’
Reads and decodes the header from the start of reader.
read_journal_blocking ๐Ÿ”’
Reads and replays path, returning what happened.