pub struct ShaHandle<'t>(/* private fields */);Implementations§
Source§impl ShaHandle<'_>
impl ShaHandle<'_>
Sourcepub fn poll(&mut self) -> bool
pub fn poll(&mut self) -> bool
Polls the status of the work item.
This function returns true if the item has been processed.
Sourcepub fn wait_blocking(self) -> Status
pub fn wait_blocking(self) -> Status
Polls the work item to completion, by busy-looping.
This function returns immediately if poll returns true.
Auto Trait Implementations§
impl<'t> Freeze for ShaHandle<'t>
impl<'t> !RefUnwindSafe for ShaHandle<'t>
impl<'t> !Send for ShaHandle<'t>
impl<'t> !Sync for ShaHandle<'t>
impl<'t> Unpin for ShaHandle<'t>
impl<'t> !UnwindSafe for ShaHandle<'t>
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