Skip to main content

file_append_log

Function file_append_log 

Source
pub fn file_append_log<T, C>(
    dir: impl AsRef<Path>,
    opts: AppendLogStorageOptions<T, C>,
) -> AppendLogStorage<FileBackend, T, C>
where T: Serialize + DeserializeOwned + Clone + Send + Sync + 'static, C: Codec<Vec<T>>,
Expand description

Convenience: append-log tier over a fresh file backend rooted at dir.