Trait rustfst::algorithms::lazy::cache::SerializableCache
source · pub trait SerializableCache {
// Required methods
fn read<P: AsRef<Path>>(path: P) -> Result<Self>
where Self: Sized;
fn write<P: AsRef<Path>>(&self, path: P) -> Result<()>;
}
Expand description
Trait definining the methods a cache must implement to be serialized and deserialized.
Required Methods§
Object Safety§
This trait is not object safe.