amethystate-core 0.9.1

Internal crate for amethystate, not intended for direct use
Documentation
1
2
3
4
5
6
7
#[cfg(feature = "async")]
use crate::AmeBackendAsync;
#[cfg(feature = "async")]
pub trait AmeStateSliceAsync<B: AmeBackendAsync>: Sized {
    type Error;
    fn load_async(store: &B) -> impl Future<Output = Result<Self, Self::Error>>;
}