Enum ic_utils::interfaces::management_canister::builders::InstallMode [−][src]
pub enum InstallMode {
Install,
Reinstall,
Upgrade,
}
Expand description
The install mode of the canister to install. If a canister is already installed, using InstallMode::Install will be an error. InstallMode::Reinstall overwrites the module, and InstallMode::Upgrade performs an Upgrade step.
Variants
Install
Reinstall
Upgrade
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InstallMode
impl Send for InstallMode
impl Sync for InstallMode
impl Unpin for InstallMode
impl UnwindSafe for InstallMode
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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