pub enum InstanceState {
Creating,
Destroyed,
Failed,
Migrating,
Rebooting,
Repairing,
Running,
Starting,
Stopped,
Stopping,
Noop,
FallthroughString,
}
Expand description
Running state of an Instance (primarily: booted or stopped)
This typically reflects whether it’s starting, running, stopping, or stopped, but also includes states related to the Instance’s lifecycle
Variants§
Creating
Destroyed
Failed
Migrating
Rebooting
Repairing
Running
Starting
Stopped
Stopping
Noop
FallthroughString
Implementations§
Trait Implementations§
Source§impl Clone for InstanceState
impl Clone for InstanceState
Source§fn clone(&self) -> InstanceState
fn clone(&self) -> InstanceState
Returns a duplicate 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 InstanceState
impl Debug for InstanceState
Source§impl Default for InstanceState
impl Default for InstanceState
Source§fn default() -> InstanceState
fn default() -> InstanceState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstanceState
impl<'de> Deserialize<'de> for InstanceState
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 Display for InstanceState
impl Display for InstanceState
Source§impl FromStr for InstanceState
impl FromStr for InstanceState
Source§impl JsonSchema for InstanceState
impl JsonSchema for InstanceState
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
Source§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 InstanceState
impl PartialEq for InstanceState
Source§impl Serialize for InstanceState
impl Serialize for InstanceState
Source§impl Tabled for InstanceState
impl Tabled for InstanceState
impl StructuralPartialEq for InstanceState
Auto Trait Implementations§
impl Freeze for InstanceState
impl RefUnwindSafe for InstanceState
impl Send for InstanceState
impl Sync for InstanceState
impl Unpin for InstanceState
impl UnwindSafe for InstanceState
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