reset_component

Function reset_component 

Source
pub fn reset_component(id: &Ustr) -> Result<()>
Expand description

Safely calls reset() on a component in the global registry.

ยงErrors

  • Returns an error if the component is not found.
  • Returns an error if the component is already borrowed.
  • Returns an error if reset() fails.