pub struct SnapshotLimits {
pub max_snapshots: u64,
pub max_branches: u64,
pub retained_bytes: u64,
pub cumulative_copy_bytes: u64,
}Expand description
Independently bounded snapshot and child-state resources.
Fields§
§max_snapshots: u64Maximum simultaneously retained snapshot objects, including live handles.
max_branches: u64Maximum simultaneously retained child states in this budget owner.
retained_bytes: u64Maximum sum of retained logical state estimates.
cumulative_copy_bytes: u64Cumulative logical copying allowance; restore and failed attempts never refund it.
Trait Implementations§
Source§impl Clone for SnapshotLimits
impl Clone for SnapshotLimits
Source§fn clone(&self) -> SnapshotLimits
fn clone(&self) -> SnapshotLimits
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 SnapshotLimits
Source§impl Debug for SnapshotLimits
impl Debug for SnapshotLimits
Source§impl<'de> Deserialize<'de> for SnapshotLimits
impl<'de> Deserialize<'de> for SnapshotLimits
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 SnapshotLimits
Source§impl PartialEq for SnapshotLimits
impl PartialEq for SnapshotLimits
Source§impl Serialize for SnapshotLimits
impl Serialize for SnapshotLimits
impl StructuralPartialEq for SnapshotLimits
Auto Trait Implementations§
impl Freeze for SnapshotLimits
impl RefUnwindSafe for SnapshotLimits
impl Send for SnapshotLimits
impl Sync for SnapshotLimits
impl Unpin for SnapshotLimits
impl UnsafeUnpin for SnapshotLimits
impl UnwindSafe for SnapshotLimits
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