pub trait ComponentServant: Servant {
// Required method
fn component_repository_id(&self) -> &str;
}Expand description
CCM container servant marker. Concrete component implementations
implement this plus the ComponentHome trait.
Phase 2 extends it with receptacle/facet/event bindings (CCM 4.0 §6).
Required Methods§
Sourcefn component_repository_id(&self) -> &str
fn component_repository_id(&self) -> &str
Returns the Repository ID of the component definition.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".