pub struct TpmPolicyGetDigestResponse {
pub handles: [TpmHandle; 0],
pub policy_digest: Tpm2bDigest,
}Fields§
§handles: [TpmHandle; 0]§policy_digest: Tpm2bDigestImplementations§
Source§impl TpmPolicyGetDigestResponse
impl TpmPolicyGetDigestResponse
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 TpmPolicyGetDigestResponse
impl Clone for TpmPolicyGetDigestResponse
Source§fn clone(&self) -> TpmPolicyGetDigestResponse
fn clone(&self) -> TpmPolicyGetDigestResponse
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 TpmPolicyGetDigestResponse
impl Debug for TpmPolicyGetDigestResponse
Source§impl Default for TpmPolicyGetDigestResponse
impl Default for TpmPolicyGetDigestResponse
Source§fn default() -> TpmPolicyGetDigestResponse
fn default() -> TpmPolicyGetDigestResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for TpmPolicyGetDigestResponse
impl PartialEq for TpmPolicyGetDigestResponse
Source§fn eq(&self, other: &TpmPolicyGetDigestResponse) -> bool
fn eq(&self, other: &TpmPolicyGetDigestResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmSized for TpmPolicyGetDigestResponse
impl TpmSized for TpmPolicyGetDigestResponse
impl Eq for TpmPolicyGetDigestResponse
impl StructuralPartialEq for TpmPolicyGetDigestResponse
Auto Trait Implementations§
impl Freeze for TpmPolicyGetDigestResponse
impl RefUnwindSafe for TpmPolicyGetDigestResponse
impl Send for TpmPolicyGetDigestResponse
impl Sync for TpmPolicyGetDigestResponse
impl Unpin for TpmPolicyGetDigestResponse
impl UnsafeUnpin for TpmPolicyGetDigestResponse
impl UnwindSafe for TpmPolicyGetDigestResponse
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