pub enum Launch {
Primary(PrimaryGuard),
Forwarded,
}Expand description
The outcome of SingleInstance::claim.
Variants§
Primary(PrimaryGuard)
This is the first instance; it listens while the guard lives.
Forwarded
Another instance is running and has the arguments: exit now.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Launch
impl !UnwindSafe for Launch
impl Freeze for Launch
impl Send for Launch
impl Sync for Launch
impl Unpin for Launch
impl UnsafeUnpin for Launch
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