Struct jobserver::HelperThread
source · pub struct HelperThread { /* private fields */ }
Expand description
Structure returned from Client::into_helper_thread
to manage the lifetime
of the helper thread returned, see those associated docs for more info.
Implementations§
source§impl HelperThread
impl HelperThread
sourcepub fn request_token(&self)
pub fn request_token(&self)
Request that the helper thread acquires a token, eventually calling the original closure with a token when it’s available.
For more information, see the docs on that function.