pub struct TpmVendorTcgTestCommand {
pub handles: [TpmHandle; 0],
pub input_data: Tpm2bData,
}Fields§
§handles: [TpmHandle; 0]§input_data: Tpm2bDataImplementations§
Source§impl TpmVendorTcgTestCommand
impl TpmVendorTcgTestCommand
Sourcepub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmCommand>
pub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmCommand>
Casts a command frame into a typed wire view for this command.
§Errors
Returns Err(TpmProtocolError) when the frame is malformed or
has a different command code.
Sourcepub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmCommand>
pub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmCommand>
Casts a mutable command frame into a typed mutable wire view for this command.
§Errors
Returns Err(TpmProtocolError) when the frame is malformed or
has a different command code.
Trait Implementations§
Source§impl Clone for TpmVendorTcgTestCommand
impl Clone for TpmVendorTcgTestCommand
Source§fn clone(&self) -> TpmVendorTcgTestCommand
fn clone(&self) -> TpmVendorTcgTestCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TpmVendorTcgTestCommand
impl Debug for TpmVendorTcgTestCommand
Source§impl PartialEq for TpmVendorTcgTestCommand
impl PartialEq for TpmVendorTcgTestCommand
Source§fn eq(&self, other: &TpmVendorTcgTestCommand) -> bool
fn eq(&self, other: &TpmVendorTcgTestCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmVendorTcgTestCommand
impl TpmFrame for TpmVendorTcgTestCommand
Source§impl TpmHeader for TpmVendorTcgTestCommand
impl TpmHeader for TpmVendorTcgTestCommand
Source§impl TpmMarshal for TpmVendorTcgTestCommand
impl TpmMarshal for TpmVendorTcgTestCommand
Source§impl TpmSized for TpmVendorTcgTestCommand
impl TpmSized for TpmVendorTcgTestCommand
impl Eq for TpmVendorTcgTestCommand
impl StructuralPartialEq for TpmVendorTcgTestCommand
Auto Trait Implementations§
impl Freeze for TpmVendorTcgTestCommand
impl RefUnwindSafe for TpmVendorTcgTestCommand
impl Send for TpmVendorTcgTestCommand
impl Sync for TpmVendorTcgTestCommand
impl Unpin for TpmVendorTcgTestCommand
impl UnsafeUnpin for TpmVendorTcgTestCommand
impl UnwindSafe for TpmVendorTcgTestCommand
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