#[repr(i32)]pub enum State {
Unspecified = 0,
Starting = 1,
Provisioning = 2,
Active = 3,
Stopping = 4,
Stopped = 5,
Deleted = 6,
Upgrading = 7,
Initializing = 8,
Registering = 9,
Suspending = 10,
Suspended = 11,
}Expand description
The definition of the states of this instance.
Variants§
Unspecified = 0
State is not specified.
Starting = 1
The control logic is starting the instance.
Provisioning = 2
The control logic is installing required frameworks and registering the instance with notebook proxy
Active = 3
The instance is running.
Stopping = 4
The control logic is stopping the instance.
Stopped = 5
The instance is stopped.
Deleted = 6
The instance is deleted.
Upgrading = 7
The instance is upgrading.
Initializing = 8
The instance is being created.
Registering = 9
The instance is getting registered.
Suspending = 10
The instance is suspending.
Suspended = 11
The instance is suspended.
Implementations§
Source§impl State
impl State
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.