pub trait SerializableOpState: Sized {
    // Required methods
    fn read<P: AsRef<Path>>(path: P) -> Result<Self>;
    fn write<P: AsRef<Path>>(&self, path: P) -> Result<()>;
}

Required Methods§

source

fn read<P: AsRef<Path>>(path: P) -> Result<Self>

Loads a FstOpState from a file in binary format.

source

fn write<P: AsRef<Path>>(&self, path: P) -> Result<()>

Writes a FstOpState to a file in binary format.

Implementors§