Trait microkelvin::Storage[][src]

pub trait Storage<I>: Serializer + Fallible<Error = Infallible> {
    fn put<T>(&mut self, t: &T) -> I
    where
        T: Serialize<Self>
;
fn get<T>(&self, id: &I) -> &T::Archived
    where
        T: Archive
; }
Expand description

The main trait for providing storage backends to use with microkelvin

Required methods

Write a value into the storage, returns a representation

Gets a value from the store

Implementors