Store

Trait Store 

Source
pub trait Store: Send + Sync {
    // Required methods
    fn push(&self, entry: Cow<'_, Entry>) -> Result<(), Error>;
    fn latest<A: Into<Atom>>(&self, name: A) -> Result<Option<Entry>, Error>;
}

Required Methods§

Source

fn push(&self, entry: Cow<'_, Entry>) -> Result<(), Error>

Source

fn latest<A: Into<Atom>>(&self, name: A) -> Result<Option<Entry>, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§