Struct itron_asp3::semaphore::Builder[][src]

pub struct Builder { /* fields omitted */ }
This is supported on crate features unstable and dcre only.
Expand description

The builder type for semaphores. Created by Semaphore::build.

Its generic parameters are an implementation detail.

Implementations

Specify the initial count. Defaults to max_count when unspecified.

Specify the maximum count. Defaults to 1 when unspecified.

Specify the queue order. Defaults to Fifo when unspecified.

Create a semaphore using the specified parameters.

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.