pub type WaitResult<T> = Result<T, Closed>;
The result of waiting on a WaitQueue or Semaphore.
WaitQueue
Semaphore
enum WaitResult<T> { Ok(T), Err(Closed), }
Contains the success value
Contains the error value