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
sourceimpl Clone for FreezingThreshold
impl Clone for FreezingThreshold
sourcefn clone(&self) -> FreezingThreshold
fn clone(&self) -> FreezingThreshold
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FreezingThreshold
impl Debug for FreezingThreshold
sourceimpl From<FreezingThreshold> for u64
impl From<FreezingThreshold> for u64
sourcefn from(freezing_threshold: FreezingThreshold) -> Self
fn from(freezing_threshold: FreezingThreshold) -> Self
Performs the conversion.
sourceimpl TryFrom<i128> for FreezingThreshold
impl TryFrom<i128> for FreezingThreshold
sourceimpl TryFrom<i16> for FreezingThreshold
impl TryFrom<i16> for FreezingThreshold
sourceimpl TryFrom<i32> for FreezingThreshold
impl TryFrom<i32> for FreezingThreshold
sourceimpl TryFrom<i64> for FreezingThreshold
impl TryFrom<i64> for FreezingThreshold
sourceimpl TryFrom<i8> for FreezingThreshold
impl TryFrom<i8> for FreezingThreshold
sourceimpl TryFrom<u128> for FreezingThreshold
impl TryFrom<u128> for FreezingThreshold
sourceimpl TryFrom<u16> for FreezingThreshold
impl TryFrom<u16> for FreezingThreshold
sourceimpl TryFrom<u32> for FreezingThreshold
impl TryFrom<u32> for FreezingThreshold
sourceimpl TryFrom<u64> for FreezingThreshold
impl TryFrom<u64> for FreezingThreshold
sourceimpl TryFrom<u8> for FreezingThreshold
impl TryFrom<u8> for FreezingThreshold
impl Copy for FreezingThreshold
Auto Trait Implementations
impl RefUnwindSafe for FreezingThreshold
impl Send for FreezingThreshold
impl Sync for FreezingThreshold
impl Unpin for FreezingThreshold
impl UnwindSafe for FreezingThreshold
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more