Struct smf::PropertyWait [−][src]
pub struct PropertyWait<'a> { /* fields omitted */ }
Created by Properties::wait, a builder object waiting for a property group to change.
Implementations
impl<'a> PropertyWait<'a>
[src]
impl<'a> PropertyWait<'a>
[src]pub fn run<S>(
&mut self,
property: &PropertyGroupName,
fmri: S
) -> Result<Property, PropertyError> where
S: AsRef<str>,
[src]
pub fn run<S>(
&mut self,
property: &PropertyGroupName,
fmri: S
) -> Result<Property, PropertyError> where
S: AsRef<str>,
[src]Waits until a specified property group changes before printing.
Returns requested property - note that it might not be the property which changed.