pub fn cache(env: EnvironmentRead) -> DatabaseResult<Self> {
        let entries = env.get_db(&*ELEMENT_CACHE_ENTRIES)?;
        let headers = env.get_db(&*ELEMENT_CACHE_HEADERS)?;
        ElementBuf::new(env, entries, None, headers)
    }
/// Create a ElementBuf using the Cache databases.
/// There is no cache for private entries, so private entries are disallowed
Create a ElementBuf using the Cache databases.
There is no cache for private entries, so private entries are disallowed
Create a ElementBuf using the Cache databases . There is no cache for private entries so private entries are disallowed
pub fn cache(env: EnvironmentRead) -> DatabaseResult<Self> {
        let entries = env.get_db(&*ELEMENT_CACHE_ENTRIES)?;
        let headers = env.get_db(&*ELEMENT_CACHE_HEADERS)?;
        ElementBuf::new(env, entries, None, headers)
    }
pub fn cache ( env : EnvironmentRead ) -> DatabaseResult < Self > { let entries = env . get_db ( & * ELEMENT_CACHE_ENTRIES ) ? ; let headers = env . get_db ( & * ELEMENT_CACHE_HEADERS ) ? ; ElementBuf :: new ( env , entries , None , headers ) }
Create a ElementBuf using the Cache databases.
Create a ElementBuf using the Cache databases .
env
EnvironmentRead
env
EnvironmentRead