Struct ruspiro_lock::async::AsyncSemaphore[][src]

pub struct AsyncSemaphore { /* fields omitted */ }

Implementations

when increasing the AsyncSemaphore we will increase the embedded Semaphore and notify the next waiter in the list that previously did not got the chance to decrease the Semaphore

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.