pub trait Conditions: Send + Sync {
// Required method
fn holds(&self, condition: &str, item: &str, person: &Person) -> Truth;
}Expand description
Decides an entry’s condition, in whatever language the
consumer writes them in: a NetBox-style constraint checked against its database, a
Windows conditional expression, a time window.
With no Conditions given, or nobody signed in, every condition is Truth::Unknown.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".