pub enum InstabootSnapshotModeV1 {
Bootstrap,
Triggers(Vec<String>),
}
Expand description
How will an instance be bootstrapped?
Variants§
Bootstrap
Start the instance without any snapshot triggers. Once the requests are done,
use snapshot_and_stop
to
capture a snapshot and shut the instance down.
Triggers(Vec<String>)
Explicitly enable the given snapshot triggers before starting the instance. The instance’s process will have its stop_running_after_checkpoint flag set, so the first snapshot will cause the instance to shut down.
Trait Implementations§
source§impl Clone for InstabootSnapshotModeV1
impl Clone for InstabootSnapshotModeV1
source§fn clone(&self) -> InstabootSnapshotModeV1
fn clone(&self) -> InstabootSnapshotModeV1
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 InstabootSnapshotModeV1
impl Debug for InstabootSnapshotModeV1
source§impl Default for InstabootSnapshotModeV1
impl Default for InstabootSnapshotModeV1
source§fn default() -> InstabootSnapshotModeV1
fn default() -> InstabootSnapshotModeV1
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InstabootSnapshotModeV1
impl<'de> Deserialize<'de> for InstabootSnapshotModeV1
source§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
source§impl Hash for InstabootSnapshotModeV1
impl Hash for InstabootSnapshotModeV1
source§impl JsonSchema for InstabootSnapshotModeV1
impl JsonSchema for InstabootSnapshotModeV1
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for InstabootSnapshotModeV1
impl PartialEq for InstabootSnapshotModeV1
source§fn eq(&self, other: &InstabootSnapshotModeV1) -> bool
fn eq(&self, other: &InstabootSnapshotModeV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InstabootSnapshotModeV1
impl Serialize for InstabootSnapshotModeV1
impl Eq for InstabootSnapshotModeV1
impl StructuralPartialEq for InstabootSnapshotModeV1
Auto Trait Implementations§
impl Freeze for InstabootSnapshotModeV1
impl RefUnwindSafe for InstabootSnapshotModeV1
impl Send for InstabootSnapshotModeV1
impl Sync for InstabootSnapshotModeV1
impl Unpin for InstabootSnapshotModeV1
impl UnwindSafe for InstabootSnapshotModeV1
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
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.