Struct single_instance::SingleInstance
[−]
[src]
pub struct SingleInstance { /* fields omitted */ }
A struct representing one running instance.
Methods
impl SingleInstance
[src]
fn new(name: &str) -> Result<Self, Error>
[src]
Returns a new SingleInstance object.
fn is_single(&self) -> bool
[src]
Returns whether this instance is single.