pub enum SingleInstanceStatus {
Primary(SingleInstanceLock),
SecondaryExited,
}Expand description
Status result when attempting to acquire a single-instance application lock.
Variants§
Primary(SingleInstanceLock)
This process is the primary instance and acquired the exclusive mutex.
SecondaryExited
A primary instance is already running; CLI arguments were forwarded and this process should exit.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SingleInstanceStatus
impl !UnwindSafe for SingleInstanceStatus
impl Forget for SingleInstanceStatus
impl Freeze for SingleInstanceStatus
impl Move for SingleInstanceStatus
impl Send for SingleInstanceStatus
impl Sync for SingleInstanceStatus
impl Unpin for SingleInstanceStatus
impl UnsafeUnpin for SingleInstanceStatus
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