Struct bastion_executor::sleepers::Sleepers [−][src]
pub struct Sleepers { /* fields omitted */ }
Expand description
The place where worker threads go to sleep.
Similar to how thread parking works, if a notification comes up while no threads are sleeping, the next thread that attempts to go to sleep will pick up the notification immediately.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Sleepers
impl UnwindSafe for Sleepers
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more