Expand description
What a transaction can fail with.
The split between the variants is the crate’s whole safety story:
Io, Escape, and
Drifted are ordinary refusals that
leave the target untouched, the construction-time refusals
(InvalidJournalName,
InvalidJournalHome,
NonUtf8Path) stop a mistake before anything is
written, Corrupt and
StaleJournal are recovery refusing to guess, and
Torn is the one case where the state on disk cannot be
named.
There is no thiserror here on purpose — the crate has no required
dependencies, and a handful of variants do not need a derive to spell out.
Enums§
Type Aliases§
- Result
- A transaction result.