Skip to main content

TpmResponseValue

Enum TpmResponseValue 

Source
pub enum TpmResponseValue {
Show 126 variants NvUndefineSpaceSpecial(TpmNvUndefineSpaceSpecialResponse), EvictControl(TpmEvictControlResponse), HierarchyControl(TpmHierarchyControlResponse), NvUndefineSpace(TpmNvUndefineSpaceResponse), ChangeEps(TpmChangeEpsResponse), ChangePps(TpmChangePpsResponse), Clear(TpmClearResponse), ClearControl(TpmClearControlResponse), ClockSet(TpmClockSetResponse), HierarchyChangeAuth(TpmHierarchyChangeAuthResponse), NvDefineSpace(TpmNvDefineSpaceResponse), PcrAllocate(TpmPcrAllocateResponse), PcrSetAuthPolicy(TpmPcrSetAuthPolicyResponse), PpCommands(TpmPpCommandsResponse), SetPrimaryPolicy(TpmSetPrimaryPolicyResponse), FieldUpgradeStart(TpmFieldUpgradeStartResponse), ClockRateAdjust(TpmClockRateAdjustResponse), CreatePrimary(TpmCreatePrimaryResponse), NvGlobalWriteLock(TpmNvGlobalWriteLockResponse), GetCommandAuditDigest(TpmGetCommandAuditDigestResponse), NvIncrement(TpmNvIncrementResponse), NvSetBits(TpmNvSetBitsResponse), NvExtend(TpmNvExtendResponse), NvWrite(TpmNvWriteResponse), NvWriteLock(TpmNvWriteLockResponse), DictionaryAttackLockReset(TpmDictionaryAttackLockResetResponse), DictionaryAttackParameters(TpmDictionaryAttackParametersResponse), NvChangeAuth(TpmNvChangeAuthResponse), PcrEvent(TpmPcrEventResponse), PcrReset(TpmPcrResetResponse), SequenceComplete(TpmSequenceCompleteResponse), SetAlgorithmSet(TpmSetAlgorithmSetResponse), SetCommandCodeAuditStatus(TpmSetCommandCodeAuditStatusResponse), FieldUpgradeData(TpmFieldUpgradeDataResponse), IncrementalSelfTest(TpmIncrementalSelfTestResponse), SelfTest(TpmSelfTestResponse), Startup(TpmStartupResponse), Shutdown(TpmShutdownResponse), StirRandom(TpmStirRandomResponse), ActivateCredential(TpmActivateCredentialResponse), Certify(TpmCertifyResponse), PolicyNv(TpmPolicyNvResponse), CertifyCreation(TpmCertifyCreationResponse), Duplicate(TpmDuplicateResponse), GetTime(TpmGetTimeResponse), GetSessionAuditDigest(TpmGetSessionAuditDigestResponse), NvRead(TpmNvReadResponse), NvReadLock(TpmNvReadLockResponse), ObjectChangeAuth(TpmObjectChangeAuthResponse), PolicySecret(TpmPolicySecretResponse), Rewrap(TpmRewrapResponse), Create(TpmCreateResponse), EcdhZGen(TpmEcdhZGenResponse), Hmac(TpmHmacResponse), Import(TpmImportResponse), Load(TpmLoadResponse), Quote(TpmQuoteResponse), RsaDecrypt(TpmRsaDecryptResponse), HmacStart(TpmHmacStartResponse), SequenceUpdate(TpmSequenceUpdateResponse), Sign(TpmSignResponse), Unseal(TpmUnsealResponse), PolicySigned(TpmPolicySignedResponse), ContextLoad(TpmContextLoadResponse), ContextSave(TpmContextSaveResponse), EcdhKeyGen(TpmEcdhKeyGenResponse), EncryptDecrypt(TpmEncryptDecryptResponse), FlushContext(TpmFlushContextResponse), LoadExternal(TpmLoadExternalResponse), MakeCredential(TpmMakeCredentialResponse), NvReadPublic(TpmNvReadPublicResponse), PolicyAuthorize(TpmPolicyAuthorizeResponse), PolicyAuthValue(TpmPolicyAuthValueResponse), PolicyCommandCode(TpmPolicyCommandCodeResponse), PolicyCounterTimer(TpmPolicyCounterTimerResponse), PolicyCpHash(TpmPolicyCpHashResponse), PolicyLocality(TpmPolicyLocalityResponse), PolicyNameHash(TpmPolicyNameHashResponse), PolicyOr(TpmPolicyOrResponse), PolicyTicket(TpmPolicyTicketResponse), ReadPublic(TpmReadPublicResponse), RsaEncrypt(TpmRsaEncryptResponse), StartAuthSession(TpmStartAuthSessionResponse), VerifySignature(TpmVerifySignatureResponse), EccParameters(TpmEccParametersResponse), FirmwareRead(TpmFirmwareReadResponse), GetCapability(TpmGetCapabilityResponse), GetRandom(TpmGetRandomResponse), GetTestResult(TpmGetTestResultResponse), Hash(TpmHashResponse), PcrRead(TpmPcrReadResponse), PolicyPcr(TpmPolicyPcrResponse), PolicyRestart(TpmPolicyRestartResponse), ReadClock(TpmReadClockResponse), PcrExtend(TpmPcrExtendResponse), PcrSetAuthValue(TpmPcrSetAuthValueResponse), NvCertify(TpmNvCertifyResponse), EventSequenceComplete(TpmEventSequenceCompleteResponse), HashSequenceStart(TpmHashSequenceStartResponse), PolicyPhysicalPresence(TpmPolicyPhysicalPresenceResponse), PolicyDuplicationSelect(TpmPolicyDuplicationSelectResponse), PolicyGetDigest(TpmPolicyGetDigestResponse), TestParms(TpmTestParmsResponse), Commit(TpmCommitResponse), PolicyPassword(TpmPolicyPasswordResponse), ZGen2Phase(TpmZGen2PhaseResponse), EcEphemeral(TpmEcEphemeralResponse), PolicyNvWritten(TpmPolicyNvWrittenResponse), PolicyTemplate(TpmPolicyTemplateResponse), CreateLoaded(TpmCreateLoadedResponse), PolicyAuthorizeNv(TpmPolicyAuthorizeNvResponse), EncryptDecrypt2(TpmEncryptDecrypt2Response), AcGetCapability(TpmAcGetCapabilityResponse), AcSend(TpmAcSendResponse), PolicyAcSendSelect(TpmPolicyAcSendSelectResponse), ActSetTimeout(TpmActSetTimeoutResponse), EccEncrypt(TpmEccEncryptResponse), EccDecrypt(TpmEccDecryptResponse), PolicyCapability(TpmPolicyCapabilityResponse), PolicyParameters(TpmPolicyParametersResponse), NvDefineSpace2(TpmNvDefineSpace2Response), NvReadPublic2(TpmNvReadPublic2Response), SetCapability(TpmSetCapabilityResponse), ReadOnlyControl(TpmReadOnlyControlResponse), PolicyTransportSpdm(TpmPolicyTransportSpdmResponse), VendorTcgTest(TpmVendorTcgTestResponse),
}
Expand description

An owned TPM response body value.

Variants§

§

NvUndefineSpaceSpecial(TpmNvUndefineSpaceSpecialResponse)

§

EvictControl(TpmEvictControlResponse)

§

HierarchyControl(TpmHierarchyControlResponse)

§

NvUndefineSpace(TpmNvUndefineSpaceResponse)

§

ChangeEps(TpmChangeEpsResponse)

§

ChangePps(TpmChangePpsResponse)

§

Clear(TpmClearResponse)

§

ClearControl(TpmClearControlResponse)

§

ClockSet(TpmClockSetResponse)

§

HierarchyChangeAuth(TpmHierarchyChangeAuthResponse)

§

NvDefineSpace(TpmNvDefineSpaceResponse)

§

PcrAllocate(TpmPcrAllocateResponse)

§

PcrSetAuthPolicy(TpmPcrSetAuthPolicyResponse)

§

PpCommands(TpmPpCommandsResponse)

§

SetPrimaryPolicy(TpmSetPrimaryPolicyResponse)

§

FieldUpgradeStart(TpmFieldUpgradeStartResponse)

§

ClockRateAdjust(TpmClockRateAdjustResponse)

§

CreatePrimary(TpmCreatePrimaryResponse)

§

NvGlobalWriteLock(TpmNvGlobalWriteLockResponse)

§

GetCommandAuditDigest(TpmGetCommandAuditDigestResponse)

§

NvIncrement(TpmNvIncrementResponse)

§

NvSetBits(TpmNvSetBitsResponse)

§

NvExtend(TpmNvExtendResponse)

§

NvWrite(TpmNvWriteResponse)

§

NvWriteLock(TpmNvWriteLockResponse)

§

DictionaryAttackLockReset(TpmDictionaryAttackLockResetResponse)

§

DictionaryAttackParameters(TpmDictionaryAttackParametersResponse)

§

NvChangeAuth(TpmNvChangeAuthResponse)

§

PcrEvent(TpmPcrEventResponse)

§

PcrReset(TpmPcrResetResponse)

§

SequenceComplete(TpmSequenceCompleteResponse)

§

SetAlgorithmSet(TpmSetAlgorithmSetResponse)

§

SetCommandCodeAuditStatus(TpmSetCommandCodeAuditStatusResponse)

§

FieldUpgradeData(TpmFieldUpgradeDataResponse)

§

IncrementalSelfTest(TpmIncrementalSelfTestResponse)

§

SelfTest(TpmSelfTestResponse)

§

Startup(TpmStartupResponse)

§

Shutdown(TpmShutdownResponse)

§

StirRandom(TpmStirRandomResponse)

§

ActivateCredential(TpmActivateCredentialResponse)

§

Certify(TpmCertifyResponse)

§

PolicyNv(TpmPolicyNvResponse)

§

CertifyCreation(TpmCertifyCreationResponse)

§

Duplicate(TpmDuplicateResponse)

§

GetTime(TpmGetTimeResponse)

§

GetSessionAuditDigest(TpmGetSessionAuditDigestResponse)

§

NvRead(TpmNvReadResponse)

§

NvReadLock(TpmNvReadLockResponse)

§

ObjectChangeAuth(TpmObjectChangeAuthResponse)

§

PolicySecret(TpmPolicySecretResponse)

§

Rewrap(TpmRewrapResponse)

§

Create(TpmCreateResponse)

§

EcdhZGen(TpmEcdhZGenResponse)

§

Hmac(TpmHmacResponse)

§

Import(TpmImportResponse)

§

Load(TpmLoadResponse)

§

Quote(TpmQuoteResponse)

§

RsaDecrypt(TpmRsaDecryptResponse)

§

HmacStart(TpmHmacStartResponse)

§

SequenceUpdate(TpmSequenceUpdateResponse)

§

Sign(TpmSignResponse)

§

Unseal(TpmUnsealResponse)

§

PolicySigned(TpmPolicySignedResponse)

§

ContextLoad(TpmContextLoadResponse)

§

ContextSave(TpmContextSaveResponse)

§

EcdhKeyGen(TpmEcdhKeyGenResponse)

§

EncryptDecrypt(TpmEncryptDecryptResponse)

§

FlushContext(TpmFlushContextResponse)

§

LoadExternal(TpmLoadExternalResponse)

§

MakeCredential(TpmMakeCredentialResponse)

§

NvReadPublic(TpmNvReadPublicResponse)

§

PolicyAuthorize(TpmPolicyAuthorizeResponse)

§

PolicyAuthValue(TpmPolicyAuthValueResponse)

§

PolicyCommandCode(TpmPolicyCommandCodeResponse)

§

PolicyCounterTimer(TpmPolicyCounterTimerResponse)

§

PolicyCpHash(TpmPolicyCpHashResponse)

§

PolicyLocality(TpmPolicyLocalityResponse)

§

PolicyNameHash(TpmPolicyNameHashResponse)

§

PolicyOr(TpmPolicyOrResponse)

§

PolicyTicket(TpmPolicyTicketResponse)

§

ReadPublic(TpmReadPublicResponse)

§

RsaEncrypt(TpmRsaEncryptResponse)

§

StartAuthSession(TpmStartAuthSessionResponse)

§

VerifySignature(TpmVerifySignatureResponse)

§

EccParameters(TpmEccParametersResponse)

§

FirmwareRead(TpmFirmwareReadResponse)

§

GetCapability(TpmGetCapabilityResponse)

§

GetRandom(TpmGetRandomResponse)

§

GetTestResult(TpmGetTestResultResponse)

§

Hash(TpmHashResponse)

§

PcrRead(TpmPcrReadResponse)

§

PolicyPcr(TpmPolicyPcrResponse)

§

PolicyRestart(TpmPolicyRestartResponse)

§

ReadClock(TpmReadClockResponse)

§

PcrExtend(TpmPcrExtendResponse)

§

PcrSetAuthValue(TpmPcrSetAuthValueResponse)

§

NvCertify(TpmNvCertifyResponse)

§

EventSequenceComplete(TpmEventSequenceCompleteResponse)

§

HashSequenceStart(TpmHashSequenceStartResponse)

§

PolicyPhysicalPresence(TpmPolicyPhysicalPresenceResponse)

§

PolicyDuplicationSelect(TpmPolicyDuplicationSelectResponse)

§

PolicyGetDigest(TpmPolicyGetDigestResponse)

§

TestParms(TpmTestParmsResponse)

§

Commit(TpmCommitResponse)

§

PolicyPassword(TpmPolicyPasswordResponse)

§

ZGen2Phase(TpmZGen2PhaseResponse)

§

EcEphemeral(TpmEcEphemeralResponse)

§

PolicyNvWritten(TpmPolicyNvWrittenResponse)

§

PolicyTemplate(TpmPolicyTemplateResponse)

§

CreateLoaded(TpmCreateLoadedResponse)

§

PolicyAuthorizeNv(TpmPolicyAuthorizeNvResponse)

§

EncryptDecrypt2(TpmEncryptDecrypt2Response)

§

AcGetCapability(TpmAcGetCapabilityResponse)

§

AcSend(TpmAcSendResponse)

§

PolicyAcSendSelect(TpmPolicyAcSendSelectResponse)

§

ActSetTimeout(TpmActSetTimeoutResponse)

§

EccEncrypt(TpmEccEncryptResponse)

§

EccDecrypt(TpmEccDecryptResponse)

§

PolicyCapability(TpmPolicyCapabilityResponse)

§

PolicyParameters(TpmPolicyParametersResponse)

§

NvDefineSpace2(TpmNvDefineSpace2Response)

§

NvReadPublic2(TpmNvReadPublic2Response)

§

SetCapability(TpmSetCapabilityResponse)

§

ReadOnlyControl(TpmReadOnlyControlResponse)

§

PolicyTransportSpdm(TpmPolicyTransportSpdmResponse)

§

VendorTcgTest(TpmVendorTcgTestResponse)

Implementations§

Source§

impl TpmResponseValue

Source

pub fn marshal_frame( &self, rc: TpmRc, sessions: &TpmAuthResponses, writer: &mut TpmWriter<'_>, ) -> TpmResult<()>

Marshals a response body into a writer.

§Errors

Returns Err(TpmError) on a marshal failure.

Trait Implementations§

Source§

impl Clone for TpmResponseValue

Source§

fn clone(&self) -> TpmResponseValue

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TpmResponseValue

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for TpmResponseValue

Source§

impl PartialEq for TpmResponseValue

Source§

fn eq(&self, other: &TpmResponseValue) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for TpmResponseValue

Source§

impl TpmFrame for TpmResponseValue

Source§

fn cc(&self) -> TpmCc

Returns the Command Code (CC) for the command or response.
Source§

fn handles(&self) -> usize

Returns the number of handles in the handle area.
Source§

impl TpmMarshal for TpmResponseValue

Source§

fn marshal(&self, writer: &mut TpmWriter<'_>) -> TpmResult<()>

Marshals the object into the given writer. Read more
Source§

impl TpmMarshalBody for TpmResponseValue

Source§

fn marshal_handles(&self, writer: &mut TpmWriter<'_>) -> TpmResult<()>

Marshals the handle area. Read more
Source§

fn marshal_parameters(&self, writer: &mut TpmWriter<'_>) -> TpmResult<()>

Marshals the parameter area. Read more
Source§

impl TpmSized for TpmResponseValue

Source§

const SIZE: usize = crate::constant::TPM_MAX_COMMAND_SIZE

The estimated size of the object in its serialized form evaluated at compile-time (always larger than the realized length).
Source§

fn len(&self) -> usize

Returns the exact serialized size of the object.
Source§

fn is_empty(&self) -> bool

Returns true if the object has a serialized length of zero.
Source§

impl TryFrom<TpmResponseValue> for TpmNvUndefineSpaceSpecialResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmEvictControlResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmHierarchyControlResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvUndefineSpaceResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmChangeEpsResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmChangePpsResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmClearResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmClearControlResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmClockSetResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmHierarchyChangeAuthResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvDefineSpaceResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPcrAllocateResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPcrSetAuthPolicyResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPpCommandsResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmSetPrimaryPolicyResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmFieldUpgradeStartResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmClockRateAdjustResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmCreatePrimaryResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvGlobalWriteLockResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmGetCommandAuditDigestResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvIncrementResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvSetBitsResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvExtendResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvWriteResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvWriteLockResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmDictionaryAttackLockResetResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmDictionaryAttackParametersResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvChangeAuthResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPcrEventResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPcrResetResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmSequenceCompleteResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmSetAlgorithmSetResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmSetCommandCodeAuditStatusResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmFieldUpgradeDataResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmIncrementalSelfTestResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmSelfTestResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmStartupResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmShutdownResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmStirRandomResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmActivateCredentialResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmCertifyResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyNvResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmCertifyCreationResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmDuplicateResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmGetTimeResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmGetSessionAuditDigestResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvReadResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvReadLockResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmObjectChangeAuthResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicySecretResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmRewrapResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmCreateResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmEcdhZGenResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmHmacResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmImportResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmLoadResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmQuoteResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmRsaDecryptResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmHmacStartResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmSequenceUpdateResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmSignResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmUnsealResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicySignedResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmContextLoadResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmContextSaveResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmEcdhKeyGenResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmEncryptDecryptResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmFlushContextResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmLoadExternalResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmMakeCredentialResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvReadPublicResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyAuthorizeResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyAuthValueResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyCommandCodeResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyCounterTimerResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyCpHashResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyLocalityResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyNameHashResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyOrResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyTicketResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmReadPublicResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmRsaEncryptResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmStartAuthSessionResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmVerifySignatureResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmEccParametersResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmFirmwareReadResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmGetCapabilityResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmGetRandomResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmGetTestResultResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmHashResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPcrReadResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyPcrResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyRestartResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmReadClockResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPcrExtendResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPcrSetAuthValueResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvCertifyResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmEventSequenceCompleteResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmHashSequenceStartResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyPhysicalPresenceResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyDuplicationSelectResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyGetDigestResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmTestParmsResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmCommitResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyPasswordResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmZGen2PhaseResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmEcEphemeralResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyNvWrittenResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyTemplateResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmCreateLoadedResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyAuthorizeNvResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmEncryptDecrypt2Response

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmAcGetCapabilityResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmAcSendResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyAcSendSelectResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmActSetTimeoutResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmEccEncryptResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmEccDecryptResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyCapabilityResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyParametersResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvDefineSpace2Response

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmNvReadPublic2Response

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmSetCapabilityResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmReadOnlyControlResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmPolicyTransportSpdmResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TpmResponseValue> for TpmVendorTcgTestResponse

Source§

type Error = TpmResponseValue

The type returned in the event of a conversion error.
Source§

fn try_from(value: TpmResponseValue) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.