Skip to main content

Components

Trait Components 

Source
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§

Source

fn holds(&self, version: &str, component: &str) -> Result<Held, String>

Whether the kept version version (a hash, or its first 6 or more hex digits) holds component. Err: the ui store failed, in words.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§