pub enum InstanceMode {
Disabled,
Arbitrate,
QaExempt,
}Expand description
How a launch takes part in single-instance arbitration.
Variants§
Disabled
The host turned single instance off: no claim, no forward.
Arbitrate
Claim the primary, or forward to it and exit (the default).
QaExempt
A hidden QA launch (RIGHTKIT_QA_HIDDEN=1) of an app that opted in with
qa_instance_exempt: it neither claims the primary nor forwards to the running instance, so
it can never be revealed by, or reveal, the user’s own copy.
Trait Implementations§
Source§impl Clone for InstanceMode
impl Clone for InstanceMode
impl Copy for InstanceMode
Source§impl Debug for InstanceMode
impl Debug for InstanceMode
impl Eq for InstanceMode
Source§impl PartialEq for InstanceMode
impl PartialEq for InstanceMode
impl StructuralPartialEq for InstanceMode
Auto Trait Implementations§
impl Freeze for InstanceMode
impl RefUnwindSafe for InstanceMode
impl Send for InstanceMode
impl Sync for InstanceMode
impl Unpin for InstanceMode
impl UnsafeUnpin for InstanceMode
impl UnwindSafe for InstanceMode
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§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.