Skip to main content

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.
  • The component is already borrowed.
  • reset() fails.