pub enum CurrentState {
Show 14 variants
Pending,
Building,
Running,
Stopping,
Stopped,
Rebooting,
Migrating,
Deleting,
Deleted,
Error,
Crashed,
Paused,
Suspended,
Unknown(String),
}Variants§
Pending
Building
Running
Stopping
Stopped
Rebooting
Migrating
Deleting
Deleted
Error
Crashed
Paused
Suspended
Unknown(String)
Implementations§
Trait Implementations§
Source§impl Clone for CurrentState
impl Clone for CurrentState
Source§impl Debug for CurrentState
impl Debug for CurrentState
Source§impl<'de> Deserialize<'de> for CurrentState
impl<'de> Deserialize<'de> for CurrentState
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CurrentState
Source§impl PartialEq for CurrentState
impl PartialEq for CurrentState
Source§impl Serialize for CurrentState
impl Serialize for CurrentState
impl StructuralPartialEq for CurrentState
Auto Trait Implementations§
impl Freeze for CurrentState
impl RefUnwindSafe for CurrentState
impl Send for CurrentState
impl Sync for CurrentState
impl Unpin for CurrentState
impl UnsafeUnpin for CurrentState
impl UnwindSafe for CurrentState
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