pub fn apply_update(
component: &mut dyn Component,
fields: &[WireField],
max_depth: Option<usize>,
path: &str,
value: Value,
) -> Result<String, LivewireError>Expand description
Applies one property update, walking a dot path and rejecting one that is too deep.
ยงErrors
Fails when the path names no wire-public field, is deeper than the configured limit, or cannot be assigned.