pub struct ModuleSnapshotCacheClearResult {
pub entries_cleared: u64,
pub approx_bytes_cleared: u64,
}Expand description
Result of clearing the Lean-side module snapshot cache.
Fields§
§entries_cleared: u64§approx_bytes_cleared: u64Trait Implementations§
Source§impl Clone for ModuleSnapshotCacheClearResult
impl Clone for ModuleSnapshotCacheClearResult
Source§fn clone(&self) -> ModuleSnapshotCacheClearResult
fn clone(&self) -> ModuleSnapshotCacheClearResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for ModuleSnapshotCacheClearResult
impl StructuralPartialEq for ModuleSnapshotCacheClearResult
Source§impl<'lean> TryFromLean<'lean> for ModuleSnapshotCacheClearResult
impl<'lean> TryFromLean<'lean> for ModuleSnapshotCacheClearResult
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for ModuleSnapshotCacheClearResult
impl RefUnwindSafe for ModuleSnapshotCacheClearResult
impl Send for ModuleSnapshotCacheClearResult
impl Sync for ModuleSnapshotCacheClearResult
impl Unpin for ModuleSnapshotCacheClearResult
impl UnsafeUnpin for ModuleSnapshotCacheClearResult
impl UnwindSafe for ModuleSnapshotCacheClearResult
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