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
sourceimpl 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.
Trait Implementations
sourceimpl Debug for HelperThread
impl Debug for HelperThread
Auto Trait Implementations
impl !RefUnwindSafe for HelperThread
impl Send for HelperThread
impl Sync for HelperThread
impl Unpin for HelperThread
impl !UnwindSafe for HelperThread
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more