pub struct AesHandle<'t>(/* private fields */);Expand description
The handle to the pending AES operation.
This object is returned by AesContext::process and AesContext::process_in_place.
Dropping this handle before the operation finishes will cancel the operation.
For an example, see the documentation of AesBackend.
Implementations§
Source§impl AesHandle<'_>
 
impl AesHandle<'_>
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.