Enum tss2_fapi_rs::BaseErrorCode
pub enum BaseErrorCode {
Show 55 variants
GeneralFailure,
NotImplemented,
BadContext,
AbiMismatch,
BadReference,
InsufficientBuffer,
BadSequence,
NoConnection,
TryAgain,
IoError,
BadValue,
NotPermitted,
InvalidSessions,
NoDecryptParam,
NoEncryptParam,
BadSize,
MalformedResponse,
InsufficientContext,
InsufficientResponse,
IncompatibleTcti,
NotSupported,
BadTctiStructure,
Memory,
BadTr,
MultipleDecryptSessions,
MultipleEncryptSessions,
RspAuthFailed,
NoConfig,
BadPath,
NotDeletable,
PathAlreadyExists,
KeyNotFound,
SignatureVerificationFailed,
HashMismatch,
KeyNotDuplicable,
PathNotFound,
NoCert,
NoPcr,
PcrNotResettable,
BadTemplate,
AuthorizationFailed,
AuthorizationUnknown,
NvNotRadable,
NvTooSmall,
NvNotWriteable,
PolicyUnknown,
NvWrongType,
NameAlreadyExists,
NoTpm,
BadKey,
NoHandle,
NotProvisioned,
AlreadyProvisioned,
CallbackNull,
UnknownError(u32),
}
Expand description
Generic TSS2 error codes.
Variants§
GeneralFailure
NotImplemented
BadContext
AbiMismatch
BadReference
InsufficientBuffer
BadSequence
NoConnection
TryAgain
IoError
BadValue
NotPermitted
InvalidSessions
NoDecryptParam
NoEncryptParam
BadSize
MalformedResponse
InsufficientContext
InsufficientResponse
IncompatibleTcti
NotSupported
BadTctiStructure
Memory
BadTr
MultipleDecryptSessions
MultipleEncryptSessions
RspAuthFailed
NoConfig
BadPath
NotDeletable
PathAlreadyExists
KeyNotFound
SignatureVerificationFailed
HashMismatch
KeyNotDuplicable
PathNotFound
NoCert
NoPcr
PcrNotResettable
BadTemplate
AuthorizationFailed
AuthorizationUnknown
NvNotRadable
NvTooSmall
NvNotWriteable
PolicyUnknown
NvWrongType
NameAlreadyExists
NoTpm
BadKey
NoHandle
NotProvisioned
AlreadyProvisioned
CallbackNull
UnknownError(u32)
Trait Implementations§
§impl Debug for BaseErrorCode
impl Debug for BaseErrorCode
§impl PartialEq for BaseErrorCode
impl PartialEq for BaseErrorCode
impl StructuralPartialEq for BaseErrorCode
Auto Trait Implementations§
impl Freeze for BaseErrorCode
impl RefUnwindSafe for BaseErrorCode
impl Send for BaseErrorCode
impl Sync for BaseErrorCode
impl Unpin for BaseErrorCode
impl UnwindSafe for BaseErrorCode
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