pub enum InstanceState {
Pending,
Running,
ShuttingDown,
Terminated,
Stopping,
Stopped,
}
Expand description
InstanceState describes the state of an AWS instance.
Variants§
Pending
InstanceStatePending is the string representing an instance in a pending state.
Running
InstanceStateRunning is the string representing an instance in a running state.
ShuttingDown
InstanceStateShuttingDown is the string representing an instance shutting down.
Terminated
InstanceStateTerminated is the string representing an instance that has been terminated.
Stopping
InstanceStateStopping is the string representing an instance that is in the process of being stopped and can be restarted.
Stopped
InstanceStateStopped is the string representing an instance that has been stopped and can be restarted.
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<'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 Serialize for InstanceState
impl Serialize for InstanceState
impl Copy 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