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
pathwith a snapshot ofsessionin 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.