Crate strut_sync

Crate strut_sync 

Source
Expand description

Strut

Strut: convenient Rust backend

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 T from any number of requester tasks, and to then asynchronously serve such requests.
Gate
A single-release barrier that is opened when the associated Latch is 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 T from the owner of the linked Conduit.