pub struct FileCache<G> {
cache_dir: PathBuf,
point_type: PhantomData<G>,
}Fields§
§cache_dir: PathBuf§point_type: PhantomData<G>Implementations§
Trait Implementations§
Source§impl<G: AffineRepr> LagrangeCache<G> for FileCache<G>
impl<G: AffineRepr> LagrangeCache<G> for FileCache<G>
type CacheKey = PathBuf
fn lagrange_basis_cache_key( &self, srs_length: usize, domain: &D<G::ScalarField>, ) -> Self::CacheKey
fn load_lagrange_basis_from_cache( &self, srs_length: usize, domain: &D<G::ScalarField>, ) -> Option<Vec<PolyComm<G>>>
fn cache_lagrange_basis( &self, srs_length: usize, domain: &D<G::ScalarField>, basis: &[PolyComm<G>], )
impl<G: Eq> Eq for FileCache<G>
impl<G> StructuralPartialEq for FileCache<G>
Auto Trait Implementations§
impl<G> Freeze for FileCache<G>
impl<G> RefUnwindSafe for FileCache<G>where
G: RefUnwindSafe,
impl<G> Send for FileCache<G>where
G: Send,
impl<G> Sync for FileCache<G>where
G: Sync,
impl<G> Unpin for FileCache<G>where
G: Unpin,
impl<G> UnwindSafe for FileCache<G>where
G: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more