pub fn list_all(&self) -> Result<Vec<T>> {
        // TODO: Paging.

        let mut results: Vec<T> = Vec::new();
        for tuple_maybe in self.tree.iter() {
            let (_key_ivec, val_ivec) = tuple_maybe.context(FailedToReadItem)?;
            let val = serde_json::from_slice(val_ivec.as_ref()).context(FailedToDeserializeItem)?;
            results.push(val);
        }

        Ok(results)
    }
/// Lists all entities of this store's type.
Lists all entities of this store's type.
Lists all entities of this store ' s type .
pub fn list_all(&self) -> Result<Vec<T>> {
        // TODO: Paging.
        let mut results: Vec<T> = Vec::new();
        for tuple_maybe in self.tree.iter() {
            let (_key_ivec, val_ivec) = tuple_maybe.context(FailedToReadItem)?;
            let val = serde_json::from_slice(val_ivec.as_ref()).context(FailedToDeserializeItem)?;
            results.push(val);
        }
        Ok(results)
    }
pub fn list_all ( & self ) -> Result < Vec < T > > { // TODO: Paging. let mut results : Vec < T > = Vec :: new ( ) ; for tuple_maybe in self . tree . iter ( ) { let ( _key_ivec , val_ivec ) = tuple_maybe . context ( FailedToReadItem ) ? ; let val = serde_json :: from_slice ( val_ivec . as_ref ( ) ) . context ( FailedToDeserializeItem ) ? ; results . push ( val ) ; } Ok ( results ) }
Lists all entities of this store's type.
Lists all entities of this store ' s type .
&self