pub struct SnapshotEstimate {
pub retained_bytes: u64,
pub copy_bytes: u64,
}Expand description
Logical storage facts supplied without allocating or evaluating native state. Values include conservative copy-on-write allowances where applicable. They do not promise a physical allocator/private-workspace ceiling.
Fields§
§retained_bytes: u64Incremental logical state retained for the lifetime of this object.
copy_bytes: u64Logical copying/materialization allowance charged cumulatively per attempt.
Trait Implementations§
Source§impl Clone for SnapshotEstimate
impl Clone for SnapshotEstimate
Source§fn clone(&self) -> SnapshotEstimate
fn clone(&self) -> SnapshotEstimate
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 Copy for SnapshotEstimate
Source§impl Debug for SnapshotEstimate
impl Debug for SnapshotEstimate
Source§impl<'de> Deserialize<'de> for SnapshotEstimate
impl<'de> Deserialize<'de> for SnapshotEstimate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SnapshotEstimate
Source§impl PartialEq for SnapshotEstimate
impl PartialEq for SnapshotEstimate
Source§impl Serialize for SnapshotEstimate
impl Serialize for SnapshotEstimate
impl StructuralPartialEq for SnapshotEstimate
Auto Trait Implementations§
impl Freeze for SnapshotEstimate
impl RefUnwindSafe for SnapshotEstimate
impl Send for SnapshotEstimate
impl Sync for SnapshotEstimate
impl Unpin for SnapshotEstimate
impl UnsafeUnpin for SnapshotEstimate
impl UnwindSafe for SnapshotEstimate
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