pub struct FreezingThreshold(_);Expand description
A freezing threshold for a canister. Can be anywhere from 0 to 2^64-1 inclusive.
This represents the time, in seconds, of ‘runway’ the IC tries to guarantee the canister. If the canister’s persistent costs, like storage, will likely lead it to run out of cycles within this amount of time, then the IC will ‘freeze’ the canister. Attempts to call its methods will be rejected unconditionally. The canister also cannot make any calls that push its cycle count into freezing threshold range.
Trait Implementations§
source§impl Clone for FreezingThreshold
impl Clone for FreezingThreshold
source§fn clone(&self) -> FreezingThreshold
fn clone(&self) -> FreezingThreshold
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FreezingThreshold
impl Debug for FreezingThreshold
source§impl From<FreezingThreshold> for u64
impl From<FreezingThreshold> for u64
source§fn from(freezing_threshold: FreezingThreshold) -> Self
fn from(freezing_threshold: FreezingThreshold) -> Self
Converts to this type from the input type.