sge_persistence 1.1.0

Persistence for SGE
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use sge_error_union::ErrorUnion;

pub use sge_persistence_macros::persistent;
pub use rkyv;

#[derive(ErrorUnion, Debug)]
pub enum Error {
    Rkyv(rkyv::rancor::Error),
    Io(std::io::Error),
}

pub type Result<T> = std::result::Result<T, Error>;