pub enum OnLowWasmMemoryHookStatus {
ConditionNotSatisfied,
Ready,
Executed,
}Expand description
§On Low Wasm Memory Hook Status.
The execution status of the on-low-Wasm-memory hook.
See ReadCanisterSnapshotMetadataResult::on_low_wasm_memory_hook_status.
Variants§
ConditionNotSatisfied
The hook’s trigger condition is not satisfied.
Ready
The hook is scheduled to run.
Executed
The hook has already been executed.
Trait Implementations§
Source§impl Clone for OnLowWasmMemoryHookStatus
impl Clone for OnLowWasmMemoryHookStatus
Source§fn clone(&self) -> OnLowWasmMemoryHookStatus
fn clone(&self) -> OnLowWasmMemoryHookStatus
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 moreSource§impl Debug for OnLowWasmMemoryHookStatus
impl Debug for OnLowWasmMemoryHookStatus
Source§impl<'de> Deserialize<'de> for OnLowWasmMemoryHookStatus
impl<'de> Deserialize<'de> for OnLowWasmMemoryHookStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OnLowWasmMemoryHookStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OnLowWasmMemoryHookStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for OnLowWasmMemoryHookStatus
impl Serialize for OnLowWasmMemoryHookStatus
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OnLowWasmMemoryHookStatus
impl RefUnwindSafe for OnLowWasmMemoryHookStatus
impl Send for OnLowWasmMemoryHookStatus
impl Sync for OnLowWasmMemoryHookStatus
impl Unpin for OnLowWasmMemoryHookStatus
impl UnsafeUnpin for OnLowWasmMemoryHookStatus
impl UnwindSafe for OnLowWasmMemoryHookStatus
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