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