pub struct TpmGetCommandAuditDigestResponse {
pub handles: [TpmHandle; 0],
pub audit_info: Tpm2bAttest,
pub signature: TpmtSignature,
}Fields§
§handles: [TpmHandle; 0]§audit_info: Tpm2bAttest§signature: TpmtSignatureImplementations§
Source§impl TpmGetCommandAuditDigestResponse
impl TpmGetCommandAuditDigestResponse
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(TpmProtocolError) 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(TpmProtocolError) when the frame envelope is malformed.
Trait Implementations§
Source§impl Clone for TpmGetCommandAuditDigestResponse
impl Clone for TpmGetCommandAuditDigestResponse
Source§fn clone(&self) -> TpmGetCommandAuditDigestResponse
fn clone(&self) -> TpmGetCommandAuditDigestResponse
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 PartialEq for TpmGetCommandAuditDigestResponse
impl PartialEq for TpmGetCommandAuditDigestResponse
Source§fn eq(&self, other: &TpmGetCommandAuditDigestResponse) -> bool
fn eq(&self, other: &TpmGetCommandAuditDigestResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmSized for TpmGetCommandAuditDigestResponse
impl TpmSized for TpmGetCommandAuditDigestResponse
impl Eq for TpmGetCommandAuditDigestResponse
impl StructuralPartialEq for TpmGetCommandAuditDigestResponse
Auto Trait Implementations§
impl Freeze for TpmGetCommandAuditDigestResponse
impl RefUnwindSafe for TpmGetCommandAuditDigestResponse
impl Send for TpmGetCommandAuditDigestResponse
impl Sync for TpmGetCommandAuditDigestResponse
impl Unpin for TpmGetCommandAuditDigestResponse
impl UnsafeUnpin for TpmGetCommandAuditDigestResponse
impl UnwindSafe for TpmGetCommandAuditDigestResponse
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