Skip to main content

Module lock

Module lock 

Source

Traits§

Lock
A held lock. Dropping does NOT release it — call release() explicitly to allow async cleanup. Implementations should panic or log on drop if not released.
Locker
Concurrency guard — one exclusive lock per upload ID.
SendLock
A held lock. Dropping does NOT release it — call release() explicitly to allow async cleanup. Implementations should panic or log on drop if not released.
SendLocker
Concurrency guard — one exclusive lock per upload ID.