pub struct TpmMakeCredentialResponse {
pub handles: [TpmHandle; 0],
pub credential_blob: Tpm2bIdObject,
pub secret: Tpm2bEncryptedSecret,
}Fields§
§handles: [TpmHandle; 0]§credential_blob: Tpm2bIdObject§secret: Tpm2bEncryptedSecretImplementations§
Source§impl TpmMakeCredentialResponse
impl TpmMakeCredentialResponse
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 TpmMakeCredentialResponse
impl Clone for TpmMakeCredentialResponse
Source§fn clone(&self) -> TpmMakeCredentialResponse
fn clone(&self) -> TpmMakeCredentialResponse
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 TpmMakeCredentialResponse
impl Debug for TpmMakeCredentialResponse
impl Eq for TpmMakeCredentialResponse
impl StructuralPartialEq for TpmMakeCredentialResponse
Source§impl TpmFrame for TpmMakeCredentialResponse
impl TpmFrame for TpmMakeCredentialResponse
Source§impl TpmSized for TpmMakeCredentialResponse
impl TpmSized for TpmMakeCredentialResponse
Source§impl TryFrom<TpmResponseValue> for TpmMakeCredentialResponse
impl TryFrom<TpmResponseValue> for TpmMakeCredentialResponse
Source§type Error = TpmResponseValue
type Error = TpmResponseValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TpmMakeCredentialResponse
impl RefUnwindSafe for TpmMakeCredentialResponse
impl Send for TpmMakeCredentialResponse
impl Sync for TpmMakeCredentialResponse
impl Unpin for TpmMakeCredentialResponse
impl UnsafeUnpin for TpmMakeCredentialResponse
impl UnwindSafe for TpmMakeCredentialResponse
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