pub(crate) struct Worker {
pub(crate) queue: Queue,
pub(crate) backend: Box<dyn TpmBackend>,
}Fields§
§queue: Queue§backend: Box<dyn TpmBackend>Implementations§
Source§impl Worker
impl Worker
pub(crate) fn perform_work( &mut self, desc: &mut DescriptorChain, ) -> Result<u32, Error>
pub(crate) fn process_queue(&mut self) -> NeedsInterrupt
pub(crate) fn run(&mut self, kill_evt: Event) -> Result<()>
Auto Trait Implementations§
impl Freeze for Worker
impl !RefUnwindSafe for Worker
impl Send for Worker
impl !Sync for Worker
impl Unpin for Worker
impl !UnwindSafe for Worker
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