Enum golem_rust::bindings::golem::api::host::UpdateMode     
source · #[repr(u8)]pub enum UpdateMode {
    Automatic = 0,
    SnapshotBased = 1,
}Expand description
Describes how to update a worker to a different component version
Variants§
Automatic = 0
Automatic update tries to recover the worker using the new component version and may fail if there is a divergence.
SnapshotBased = 1
Manual, snapshot-based update uses a user-defined implementation of the save-snapshot interface
to store the worker’s state, and a user-defined implementation of the load-snapshot interface to
load it into the new version.
Trait Implementations§
source§impl Clone for UpdateMode
 
impl Clone for UpdateMode
source§fn clone(&self) -> UpdateMode
 
fn clone(&self) -> UpdateMode
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 UpdateMode
 
impl Debug for UpdateMode
source§impl PartialEq for UpdateMode
 
impl PartialEq for UpdateMode
source§fn eq(&self, other: &UpdateMode) -> bool
 
fn eq(&self, other: &UpdateMode) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for UpdateMode
impl Eq for UpdateMode
impl StructuralPartialEq for UpdateMode
Auto Trait Implementations§
impl Freeze for UpdateMode
impl RefUnwindSafe for UpdateMode
impl Send for UpdateMode
impl Sync for UpdateMode
impl Unpin for UpdateMode
impl UnwindSafe for UpdateMode
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
    T: Copy,
 
impl<T> CloneToUninit for Twhere
    T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)