pub enum NativeResult {
Show 29 variants ListProviders(Result), ListOpcodes(Result), ListAuthenticators(Result), ListKeys(Result), ListClients(Result), DeleteClient(Result), Ping(Result), PsaGenerateKey(Result), PsaImportKey(Result), PsaExportPublicKey(Result), PsaExportKey(Result), PsaDestroyKey(Result), PsaSignHash(Result), PsaHashCompute(Result), PsaHashCompare(Result), PsaVerifyHash(Result), PsaAsymmetricEncrypt(Result), PsaAsymmetricDecrypt(Result), PsaAeadEncrypt(Result), PsaAeadDecrypt(Result), PsaCipherEncrypt(Result), PsaCipherDecrypt(Result), PsaGenerateRandom(Result), PsaRawKeyAgreement(Result), PsaSignMessage(Result), PsaVerifyMessage(Result), CanDoCrypto(Result), AttestKey(Result), PrepareKeyAttestation(Result),
}
Expand description

Container type for result conversion values, holding a native result object to be passed in/out of the converter.

Variants§

§

ListProviders(Result)

ListProviders result

§

ListOpcodes(Result)

ListOpcodes result

§

ListAuthenticators(Result)

ListAuthenticators result

§

ListKeys(Result)

ListKeys result

§

ListClients(Result)

ListClients result

§

DeleteClient(Result)

DeleteClient result

§

Ping(Result)

Ping result

§

PsaGenerateKey(Result)

PsaGenerateKey result

§

PsaImportKey(Result)

PsaImportKey result

§

PsaExportPublicKey(Result)

PsaExportPublicKey result

§

PsaExportKey(Result)

PsaExportKey result

§

PsaDestroyKey(Result)

PsaDestroyKey result

§

PsaSignHash(Result)

PsaSignHash result

§

PsaHashCompute(Result)

PsaHashCompute result

§

PsaHashCompare(Result)

PsaHashCompare result

§

PsaVerifyHash(Result)

PsaVerifyHash result

§

PsaAsymmetricEncrypt(Result)

PsaAsymmetricEncrypt result

§

PsaAsymmetricDecrypt(Result)

PsaAsymmetricDecrypt result

§

PsaAeadEncrypt(Result)

PsaAeadEncrypt result

§

PsaAeadDecrypt(Result)

PsaAeadDecrypt result

§

PsaCipherEncrypt(Result)

PsaCipherEncrypt result

§

PsaCipherDecrypt(Result)

PsaCipherDecrypt result

§

PsaGenerateRandom(Result)

PsaGenerateRandom result

§

PsaRawKeyAgreement(Result)

PsaRawKeyAgreement result

§

PsaSignMessage(Result)

PsaSignMessage result

§

PsaVerifyMessage(Result)

PsaVerifyMessage result

§

CanDoCrypto(Result)

CanDoCrypto result

§

AttestKey(Result)

AttestKey result

§

PrepareKeyAttestation(Result)

AttestKey result

Implementations§

source§

impl NativeResult

source

pub fn opcode(&self) -> Opcode

Return the opcode of the operation associated.

Trait Implementations§

source§

impl Debug for NativeResult

source§

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

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

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.
source§

impl From<Result> for NativeResult

source§

fn from(op: Result) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.