Skip to content

Glossary: Software Design Patterns in Rust

Repository

Also written: repo, Repo

An interface that stores and finds things so nothing else knows how they're stored. MemoryRepo keeps orders in a private Vec, and a JsonRepo could use a file.

Where the book teaches it

Related terms

Dependency injectionFake