[][src]Trait holochain_core::persister::Persister

pub trait Persister: Send {
    fn save(&mut self, state: State) -> Result<(), HolochainError>;
fn load(
        &self,
        context: Arc<Context>
    ) -> Result<Option<State>, HolochainError>; }

trait that defines the persistence functionality that holochain_core requires

Required Methods

Implementors

impl Persister for SimplePersister
[src]