pub struct EccHandle<'t>(/* private fields */);Expand description
A handle for an in-progress operation.
Implementations§
Source§impl EccHandle<'_>
impl EccHandle<'_>
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 EccHandle<'t>
impl<'t> !RefUnwindSafe for EccHandle<'t>
impl<'t> !Send for EccHandle<'t>
impl<'t> !Sync for EccHandle<'t>
impl<'t> Unpin for EccHandle<'t>
impl<'t> UnsafeUnpin for EccHandle<'t>
impl<'t> !UnwindSafe for EccHandle<'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