Skip to main content

merge

Function merge 

Source
pub(crate) fn merge<N: Node>(
    current: &mut N,
    desired: &N,
    ownership: &Ownership,
) -> Result<(), MergeError>
Expand description

Merge desired into current, touching only what ownership claims.

ยงErrors

Returns an error when a path that holds both owned and unmanaged values is not a container on both sides.