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

pub struct DefaultPark { /* fields omitted */ }

Parks the thread.

Methods

impl DefaultPark
[src]

Creates a new DefaultPark instance.

Trait Implementations

impl Debug for DefaultPark
[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

Get a new Unpark handle associated with this Park instance.

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

Park the current thread for at most duration. Read more

Auto Trait Implementations

impl Send for DefaultPark

impl Sync for DefaultPark