Creates a new latch backed by the provided semaphore.
(semaphore: &'static Semaphore)
| 64 | /// The result of a [`Latch::check`]: whether the latch has been set, and if so |
| 65 | /// whether it was set with an error. |
| 66 | pub enum Status { |
| 67 | /// The latch has not been set. |
| 68 | Pending, |
| 69 | /// The latch was set without an error. |
| 70 | Ok, |
| 71 | /// The latch was set with an error. |
| 72 | Error, |
| 73 | } |
| 74 |
nothing calls this directly
no outgoing calls
no test coverage detected