pub enum PendingOperation {
Boot,
Shutdown,
Erase,
Delete,
}Expand description
Intent behind an in-flight simctl operation. Lets the reducer reconcile
pending_operations against an arriving Refreshed listing — if the sim
already reached the target state we can drop the pending entry even when
the spawned task has not yet returned (a known macOS quirk where xcrun simctl shutdown can block for many seconds after the simulator is
already shut down).
Variants§
Trait Implementations§
Source§impl Clone for PendingOperation
impl Clone for PendingOperation
Source§fn clone(&self) -> PendingOperation
fn clone(&self) -> PendingOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PendingOperation
Source§impl Debug for PendingOperation
impl Debug for PendingOperation
impl Eq for PendingOperation
Source§impl PartialEq for PendingOperation
impl PartialEq for PendingOperation
impl StructuralPartialEq for PendingOperation
Auto Trait Implementations§
impl Freeze for PendingOperation
impl RefUnwindSafe for PendingOperation
impl Send for PendingOperation
impl Sync for PendingOperation
impl Unpin for PendingOperation
impl UnsafeUnpin for PendingOperation
impl UnwindSafe for PendingOperation
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more