Рет қаралды 8,558
A stream meant for "advanced beginners" of Rust on the "guard pattern" a common API construct for wrapping items in order to do things when those items are no longer used. In this video we implement a simple resource pool that allows users to get items from a pool and returns those items to the pool when they're no longer needed.