pub enum CommandRequest {
Transmit {
data: Vec<u8>,
responder: CommandTransmitResponder,
},
}
Expand description
Fuchsia implementation of the TCG TSS 2.0 TPM Command Transmission Interface API Specification. This is intended to be used by TSS 2.0 compliant libraries to implement userland TPM libraries.
Variants§
Transmit
Submit a TPM2 command to be executed by the Resource Manager & TAB. Error conditions: ZX_UNAVAILABLE will be returned if the TPM cannot be accessed. ZX_TIMED_OUT will be returned if the TPM hardware hits the TCG timeouts.
Implementations§
Source§impl CommandRequest
impl CommandRequest
pub fn into_transmit(self) -> Option<(Vec<u8>, CommandTransmitResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandRequest
impl !RefUnwindSafe for CommandRequest
impl Send for CommandRequest
impl Sync for CommandRequest
impl Unpin for CommandRequest
impl !UnwindSafe for CommandRequest
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