pub enum SingleInstance {
First(FirstInstance),
Second,
}Expand description
Whether this launch is the app’s only instance.
Variants§
First(FirstInstance)
No other instance runs: this one is the app, and hears the later launches.
Second
Another instance runs, and has been handed this launch’s command line: this one should quit.
Auto Trait Implementations§
impl !RefUnwindSafe for SingleInstance
impl !Sync for SingleInstance
impl !UnwindSafe for SingleInstance
impl Forget for SingleInstance
impl Freeze for SingleInstance
impl Move for SingleInstance
impl Send for SingleInstance
impl Unpin for SingleInstance
impl UnsafeUnpin for SingleInstance
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