Struct tokio_threadpool::park::DefaultPark [] [src]

pub struct DefaultPark { /* fields omitted */ }

Parks the thread.

Methods

impl DefaultPark
[src]

[src]

Creates a new DefaultPark instance.

Trait Implementations

impl Debug for DefaultPark
[src]

[src]

Formats the value using the given formatter. Read more

impl Park for DefaultPark
[src]

Unpark handle type for the Park implementation.

Error returned by park

[src]

Get a new Unpark handle associated with this Park instance.

[src]

Block the current thread unless or until the token is available. Read more

[src]

Park the current thread for at most duration. Read more