Enum ink_storage::alloc::ContractPhase [−][src]
pub enum ContractPhase { Deploy, Call, }
Expand description
The phase in which a contract execution can be.
Variants
Initializes the global dynamic storage allocator from scratch.
Upon initialization, it will be created from scratch as if the contract has been deployed for the first time.
Initializes the global dynamic storage allocator from storage.
Upon initialization, the dynamic storage allocator will be pulled from the contract storage with the assumption that a former contract deployment has already taken place in the past.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ContractPhase
impl Send for ContractPhase
impl Sync for ContractPhase
impl Unpin for ContractPhase
impl UnwindSafe for ContractPhase
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Convert from a value of T
into an equivalent instance of Self
. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of T
. Read more
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of T
.
pub fn vzip(self) -> V