Expand description

Consumes and merges two ValidationResult instances, reusing memory if possible.

  • If both results are Ok(()) variants, the left one is returned.
  • If one result is Err(errors) and the other is Ok(()), the Err is returned.
  • If both results are Err(errors) variants, a new Err with the concatenated errors is returned.