pub struct TpmCommitCommand {
pub handles: [TpmHandle; 1],
pub p1: Tpm2bEccPoint,
pub s2: Tpm2bSensitiveData,
pub y2: Tpm2bEccParameter,
}Fields§
§handles: [TpmHandle; 1]§p1: Tpm2bEccPoint§s2: Tpm2bSensitiveData§y2: Tpm2bEccParameterImplementations§
Source§impl TpmCommitCommand
impl TpmCommitCommand
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 TpmCommitCommand
impl Clone for TpmCommitCommand
Source§fn clone(&self) -> TpmCommitCommand
fn clone(&self) -> TpmCommitCommand
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 TpmCommitCommand
impl Debug for TpmCommitCommand
Source§impl PartialEq for TpmCommitCommand
impl PartialEq for TpmCommitCommand
Source§fn eq(&self, other: &TpmCommitCommand) -> bool
fn eq(&self, other: &TpmCommitCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmCommitCommand
impl TpmFrame for TpmCommitCommand
Source§impl TpmHeader for TpmCommitCommand
impl TpmHeader for TpmCommitCommand
Source§impl TpmMarshal for TpmCommitCommand
impl TpmMarshal for TpmCommitCommand
Source§impl TpmMarshalBody for TpmCommitCommand
impl TpmMarshalBody for TpmCommitCommand
Source§impl TpmSized for TpmCommitCommand
impl TpmSized for TpmCommitCommand
impl Copy for TpmCommitCommand
impl Eq for TpmCommitCommand
impl StructuralPartialEq for TpmCommitCommand
Auto Trait Implementations§
impl Freeze for TpmCommitCommand
impl RefUnwindSafe for TpmCommitCommand
impl Send for TpmCommitCommand
impl Sync for TpmCommitCommand
impl Unpin for TpmCommitCommand
impl UnsafeUnpin for TpmCommitCommand
impl UnwindSafe for TpmCommitCommand
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