pub struct RuntimeComponentMetadataCatalog { /* private fields */ }Expand description
Runtime catalog of component metadata backed by the live component
Registry.
Implementations§
Trait Implementations§
Source§impl ComponentMetadataCatalog for RuntimeComponentMetadataCatalog
impl ComponentMetadataCatalog for RuntimeComponentMetadataCatalog
Source§fn get_metadata(&self, scheme: &str) -> Option<ComponentMetadata>
fn get_metadata(&self, scheme: &str) -> Option<ComponentMetadata>
Look up metadata for a component by its URI scheme.
Source§fn all_metadata(&self) -> Vec<ComponentMetadata>
fn all_metadata(&self) -> Vec<ComponentMetadata>
Return metadata for all registered components.
Source§fn query_capabilities(&self, query: &CapabilityQuery) -> Vec<ComponentMetadata>
fn query_capabilities(&self, query: &CapabilityQuery) -> Vec<ComponentMetadata>
Filter components by capability query. Returns all metadata
entries whose capabilities match every field in the query.
Auto Trait Implementations§
impl Freeze for RuntimeComponentMetadataCatalog
impl RefUnwindSafe for RuntimeComponentMetadataCatalog
impl Send for RuntimeComponentMetadataCatalog
impl Sync for RuntimeComponentMetadataCatalog
impl Unpin for RuntimeComponentMetadataCatalog
impl UnsafeUnpin for RuntimeComponentMetadataCatalog
impl UnwindSafe for RuntimeComponentMetadataCatalog
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more