pub trait Components: Send + Sync {
// Required method
fn holds(&self, version: &str, component: &str) -> Result<Held, String>;
}Expand description
NOTES-4: the ui service’s answer to “does version hold component” —
the builder attaches the running ui service’s (Seam::attach_components).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".