Skip to main content
Crate spin_connection_semaphore
spin_
connection_
semaphore
4.1.0-pre0
All Items
Crate Items
Structs
Functions
Crate
spin_
connection_
semaphore
Copy item path
Source
Structs
§
Connection
Permit
Holds up to two semaphore permits (global + factor-specific). Both permits are released when this value is dropped. All-
None
permit fields are valid and represent the no-limits case.
Connection
Semaphore
Wraps an optional global and an optional factor-specific semaphore.
Limited
Semaphore
A semaphore paired with its configured permit limit, so utilization can be computed.
Functions
§
metric_
histogram_
buckets
Custom histogram bucket boundaries for the utilization metrics this crate emits.