Struct smf::PropertyLookup [−][src]
pub struct PropertyLookup<'a> { /* fields omitted */ }
Created by Properties::lookup, a builder object capable of listing properties.
Implementations
impl<'a> PropertyLookup<'a>
[src]
impl<'a> PropertyLookup<'a>
[src]pub fn attachment(&mut self, attachment: PropertyClass) -> &mut Self
[src]
pub fn attachment(&mut self, attachment: PropertyClass) -> &mut Self
[src]Optionally requests properties with a particular view. Refer to PropertyClass for a more exhaustive explanation.
pub fn run<S>(
&mut self,
property: &PropertyName,
fmri: S
) -> Result<Property, PropertyError> where
S: AsRef<str>,
[src]
pub fn run<S>(
&mut self,
property: &PropertyName,
fmri: S
) -> Result<Property, PropertyError> where
S: AsRef<str>,
[src]Looks up a property for a specified FMRI.