pub struct TpmCertifyResponse {
pub handles: [TpmHandle; 0],
pub certify_info: Tpm2bAttest,
pub signature: TpmtSignature,
}Fields§
§handles: [TpmHandle; 0]§certify_info: Tpm2bAttest§signature: TpmtSignatureImplementations§
Source§impl TpmCertifyResponse
impl TpmCertifyResponse
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 TpmCertifyResponse
impl Clone for TpmCertifyResponse
Source§fn clone(&self) -> TpmCertifyResponse
fn clone(&self) -> TpmCertifyResponse
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 TpmCertifyResponse
impl Debug for TpmCertifyResponse
impl Eq for TpmCertifyResponse
Source§impl PartialEq for TpmCertifyResponse
impl PartialEq for TpmCertifyResponse
impl StructuralPartialEq for TpmCertifyResponse
Source§impl TpmFrame for TpmCertifyResponse
impl TpmFrame for TpmCertifyResponse
Source§impl TpmHeader for TpmCertifyResponse
impl TpmHeader for TpmCertifyResponse
Source§impl TpmMarshal for TpmCertifyResponse
impl TpmMarshal for TpmCertifyResponse
Source§impl TpmMarshalBody for TpmCertifyResponse
impl TpmMarshalBody for TpmCertifyResponse
Source§impl TpmSized for TpmCertifyResponse
impl TpmSized for TpmCertifyResponse
Source§impl TryFrom<TpmResponseValue> for TpmCertifyResponse
impl TryFrom<TpmResponseValue> for TpmCertifyResponse
Source§type Error = TpmResponseValue
type Error = TpmResponseValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TpmCertifyResponse
impl RefUnwindSafe for TpmCertifyResponse
impl Send for TpmCertifyResponse
impl Sync for TpmCertifyResponse
impl Unpin for TpmCertifyResponse
impl UnsafeUnpin for TpmCertifyResponse
impl UnwindSafe for TpmCertifyResponse
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