amethystate 0.23.2

A state manager for Rust applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
use error_stack::Report;

pub use amethystate_core::failure::{
    IntoStorageReport, Occupied, StorageError, StorageResult, one_line,
};

impl IntoStorageReport for crate::MigrationError {
    fn into_report(self) -> Report<StorageError> {
        Report::new(self).change_context(StorageError::Migrate)
    }
}