pub fn single_instance(id: &str) -> Result<SingleInstance>Expand description
Claims to be the one instance of the app id, a reverse-DNS name such as
com.example.notes, or, where another instance holds the claim, hands it this launch’s
arguments. An error leaves the app to run as though alone.