pub struct TpmDeviceBuilder { /* private fields */ }Expand description
A builder for constructing a TpmDevice.
Implementations§
Source§impl TpmDeviceBuilder
impl TpmDeviceBuilder
Sourcepub fn with_timeout(self, timeout: Duration) -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
Sets the operation timeout.
Sourcepub fn with_interrupted<F>(self, handler: F) -> Self
pub fn with_interrupted<F>(self, handler: F) -> Self
Sets the interruption check callback.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TpmDeviceBuilder
impl !RefUnwindSafe for TpmDeviceBuilder
impl !Send for TpmDeviceBuilder
impl !Sync for TpmDeviceBuilder
impl Unpin for TpmDeviceBuilder
impl !UnwindSafe for TpmDeviceBuilder
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