pub enum AccountShrinkThreshold {
TotalSpace {
shrink_ratio: f64,
},
IndividalStore {
shrink_ratio: f64,
},
}
Variants
TotalSpace
Fields
shrink_ratio: f64
Measure the total space sparseness across all candididates And select the candidiates by using the top sparse account storage entries to shrink. The value is the overall shrink threshold measured as ratio of the total live bytes over the total bytes.
IndividalStore
Fields
shrink_ratio: f64
Use the following option to shrink all stores whose alive ratio is below the specified threshold.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for AccountShrinkThreshold
impl Send for AccountShrinkThreshold
impl Sync for AccountShrinkThreshold
impl Unpin for AccountShrinkThreshold
impl UnwindSafe for AccountShrinkThreshold
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more