pub struct TpmCommitResponse {
pub handles: [TpmHandle; 0],
pub k: Tpm2bEccPoint,
pub l: Tpm2bEccPoint,
pub e: Tpm2bEccPoint,
pub counter: TpmUint16,
}Fields§
§handles: [TpmHandle; 0]§k: Tpm2bEccPoint§l: Tpm2bEccPoint§e: Tpm2bEccPoint§counter: TpmUint16Implementations§
Source§impl TpmCommitResponse
impl TpmCommitResponse
Sourcepub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmResponse>
pub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmResponse>
Casts a response frame into a typed wire view for this response.
§Errors
Returns Err(TpmError) when the frame envelope is malformed.
Sourcepub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmResponse>
pub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmResponse>
Casts a mutable response frame into a typed mutable wire view for this response.
§Errors
Returns Err(TpmError) when the frame envelope is malformed.
Trait Implementations§
Source§impl Clone for TpmCommitResponse
impl Clone for TpmCommitResponse
Source§fn clone(&self) -> TpmCommitResponse
fn clone(&self) -> TpmCommitResponse
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 moreimpl Copy for TpmCommitResponse
Source§impl Debug for TpmCommitResponse
impl Debug for TpmCommitResponse
impl Eq for TpmCommitResponse
Source§impl PartialEq for TpmCommitResponse
impl PartialEq for TpmCommitResponse
Source§fn eq(&self, other: &TpmCommitResponse) -> bool
fn eq(&self, other: &TpmCommitResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TpmCommitResponse
Source§impl TpmFrame for TpmCommitResponse
impl TpmFrame for TpmCommitResponse
Source§impl TpmHeader for TpmCommitResponse
impl TpmHeader for TpmCommitResponse
Source§impl TpmMarshal for TpmCommitResponse
impl TpmMarshal for TpmCommitResponse
Source§impl TpmMarshalBody for TpmCommitResponse
impl TpmMarshalBody for TpmCommitResponse
Auto Trait Implementations§
impl Freeze for TpmCommitResponse
impl RefUnwindSafe for TpmCommitResponse
impl Send for TpmCommitResponse
impl Sync for TpmCommitResponse
impl Unpin for TpmCommitResponse
impl UnsafeUnpin for TpmCommitResponse
impl UnwindSafe for TpmCommitResponse
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