Struct smf::Properties [−][src]
pub struct Properties { /* fields omitted */ }
Queries the properties of a service or instance.
Implementations
impl Properties
[src]
impl Properties
[src]pub fn zone<S: AsRef<str>>(&mut self, zone: S) -> &mut Properties
[src]
pub fn zone<S: AsRef<str>>(&mut self, zone: S) -> &mut Properties
[src]Requests a command be issued within a specific zone.
pub fn lookup(&self) -> PropertyLookup<'_>
[src]
pub fn lookup(&self) -> PropertyLookup<'_>
[src]Acquires a PropertyLookup command, capable of listing properties.
let name = smf::PropertyName::new("general", "comment").unwrap(); let property = smf::Properties::new() .lookup() .run(&name, "my-service") .unwrap();
pub fn wait(&self) -> PropertyWait<'_>
[src]
pub fn wait(&self) -> PropertyWait<'_>
[src]Acquires a PropertyWait command, capable of waiting for properties to change.
let group = smf::PropertyGroupName::new("general").unwrap(); let property = smf::Properties::new() .wait() .run(&group, "my-service") .unwrap();