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