pub struct TpmCreateResponse {
pub handles: [TpmHandle; 0],
pub out_private: Tpm2bPrivate,
pub out_public: Tpm2bPublic,
pub creation_data: Tpm2bCreationData,
pub creation_hash: Tpm2bDigest,
pub creation_ticket: TpmtTkCreation,
}Fields§
§handles: [TpmHandle; 0]§out_private: Tpm2bPrivate§out_public: Tpm2bPublic§creation_data: Tpm2bCreationData§creation_hash: Tpm2bDigest§creation_ticket: TpmtTkCreationImplementations§
Source§impl TpmCreateResponse
impl TpmCreateResponse
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 TpmCreateResponse
impl Clone for TpmCreateResponse
Source§fn clone(&self) -> TpmCreateResponse
fn clone(&self) -> TpmCreateResponse
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 TpmCreateResponse
impl Debug for TpmCreateResponse
impl Eq for TpmCreateResponse
Source§impl PartialEq for TpmCreateResponse
impl PartialEq for TpmCreateResponse
Source§fn eq(&self, other: &TpmCreateResponse) -> bool
fn eq(&self, other: &TpmCreateResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TpmCreateResponse
Source§impl TpmFrame for TpmCreateResponse
impl TpmFrame for TpmCreateResponse
Source§impl TpmHeader for TpmCreateResponse
impl TpmHeader for TpmCreateResponse
Source§impl TpmMarshal for TpmCreateResponse
impl TpmMarshal for TpmCreateResponse
Source§impl TpmMarshalBody for TpmCreateResponse
impl TpmMarshalBody for TpmCreateResponse
Auto Trait Implementations§
impl Freeze for TpmCreateResponse
impl RefUnwindSafe for TpmCreateResponse
impl Send for TpmCreateResponse
impl Sync for TpmCreateResponse
impl Unpin for TpmCreateResponse
impl UnsafeUnpin for TpmCreateResponse
impl UnwindSafe for TpmCreateResponse
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