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 Client::into_helper_thread
.
Trait Implementations§
Source§impl Debug for HelperThread
impl Debug for HelperThread
Auto Trait Implementations§
impl Freeze for HelperThread
impl !RefUnwindSafe for HelperThread
impl Send for HelperThread
impl Sync for HelperThread
impl Unpin for HelperThread
impl !UnwindSafe for HelperThread
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more