pub trait HostConditionsSource:
Send
+ Sync
+ 'static {
// Required method
fn sample(&self) -> Result<HostConditionsSnapshot, String>;
}Expand description
Pluggable owner of host-condition facts.
Required Methods§
Sourcefn sample(&self) -> Result<HostConditionsSnapshot, String>
fn sample(&self) -> Result<HostConditionsSnapshot, String>
Sample one complete, versioned snapshot.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".