Expand description
Strut
Backend in Rust: convenient and configurable with Strut. 🏗️
- Strut is a Rust application scaffold that aims to simplify common backend chores.
- The documentation is available on the ➡️ homepage.
§Crate strut-sync
⚠️ Internal crate
Unless you know exactly what you are doing, there is probably no need to directly depend on this crate.
This crate contains synchronization primitives.
Structs§
- Conduit
- A conduit for a simplified request-response communication between asynchronous
tasks that allows an owner task to listen for requests for a resource
Tfrom any number of requester tasks, and to then asynchronously serve such requests. - Gate
- A single-release barrier that is opened when the associated
Latchis released. - Latch
- A synchronization primitive that can be released exactly once, notifying all
associated
Gates. This is intended for one-shot notifications or barriers in asynchronous contexts. - Retriever
- Allows asynchronously retrieving the resource
Tfrom the owner of the linkedConduit.