pub trait TopInstanceInterface: Sized + Debug {
// Required methods
fn namespace_capabilities(&self) -> &NamespaceCapabilities;
fn builtin_capabilities(&self) -> &BuiltinCapabilities;
}
Expand description
A special instance identified with the top of the tree, i.e. component manager’s instance.
Required Methods§
fn namespace_capabilities(&self) -> &NamespaceCapabilities
fn builtin_capabilities(&self) -> &BuiltinCapabilities
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.