Skip to main content

Crate spin_connection_semaphore

Crate spin_connection_semaphore 

Source

Structsยง

ConnectionPermit
Holds up to two semaphore permits (global + factor-specific). Both permits are released when this value is dropped. All-None fields are valid and represent the no-limits case.
ConnectionSemaphore
Wraps an optional global and an optional factor-specific semaphore.