pub struct MmapProof { /* private fields */ }Expand description
Mmap-backed proof wrapper.
Implementations§
Source§impl MmapProof
impl MmapProof
Sourcepub fn new(config: MmapConfig) -> Result<Self>
pub fn new(config: MmapConfig) -> Result<Self>
Create a new mmap proof.
Sourcepub fn metadata(&self) -> &ProofMetadata
pub fn metadata(&self) -> &ProofMetadata
Get metadata.
Sourcepub fn clear_cache(&mut self)
pub fn clear_cache(&mut self)
Clear cache.
Auto Trait Implementations§
impl Freeze for MmapProof
impl RefUnwindSafe for MmapProof
impl Send for MmapProof
impl Sync for MmapProof
impl Unpin for MmapProof
impl UnsafeUnpin for MmapProof
impl UnwindSafe for MmapProof
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