Refactor Result code to increase scalability
Refactor Result code to increase scalability

If more parameters are introduced, the "if let" approach would involve
ever increasing levels of indentation. With dedicated matcher
statements, new parameters can be added without indentations.

SBSTP/rust-igd,SBSTP/rust-igd