Adapter

Convert the interface of a class into another interface clients expect. An adapter lets classes work together that could not otherwise because of incompatible interfaces. The enterprise integration pattern equivalent is the translator.

Examples in Rust
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in Rust!