pub enum TpmErrorKind {
Show 19 variants
ReadPpiState(NonVolatileStoreError),
PersistPpiState(NonVolatileStoreError),
ReadNvramState(NonVolatileStoreError),
PersistNvramState(NonVolatileStoreError),
InvalidPpiState,
InstantiateTpm(Error),
ResetTpmWithoutState(Error),
ResetTpmWithState(Error),
InitializeTpmEngine(TpmHelperError),
ClearTpmPlatformContext(TpmHelperError),
RefreshTpmSeeds(TpmHelperError),
CreateAkPublic(TpmHelperError),
CreateEkPublic(TpmHelperError),
AllocateGuestAttestationNvIndices(TpmHelperError),
ReadFromNvIndex(TpmHelperError),
WriteToNvIndex(TpmHelperError),
GetAttestationReport(Box<dyn Error + Send + Sync>),
ClearPlatformHierarchy(TpmHelperError),
SetPcrBanks(TpmHelperError),
}
Variants§
ReadPpiState(NonVolatileStoreError)
PersistPpiState(NonVolatileStoreError)
ReadNvramState(NonVolatileStoreError)
PersistNvramState(NonVolatileStoreError)
InvalidPpiState
InstantiateTpm(Error)
ResetTpmWithoutState(Error)
ResetTpmWithState(Error)
InitializeTpmEngine(TpmHelperError)
ClearTpmPlatformContext(TpmHelperError)
RefreshTpmSeeds(TpmHelperError)
CreateAkPublic(TpmHelperError)
CreateEkPublic(TpmHelperError)
AllocateGuestAttestationNvIndices(TpmHelperError)
ReadFromNvIndex(TpmHelperError)
WriteToNvIndex(TpmHelperError)
GetAttestationReport(Box<dyn Error + Send + Sync>)
ClearPlatformHierarchy(TpmHelperError)
SetPcrBanks(TpmHelperError)
Trait Implementations§
Source§impl Debug for TpmErrorKind
impl Debug for TpmErrorKind
Source§impl Display for TpmErrorKind
impl Display for TpmErrorKind
Source§impl Error for TpmErrorKind
impl Error for TpmErrorKind
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<TpmErrorKind> for TpmError
impl From<TpmErrorKind> for TpmError
Source§fn from(source: TpmErrorKind) -> Self
fn from(source: TpmErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TpmErrorKind
impl !RefUnwindSafe for TpmErrorKind
impl Send for TpmErrorKind
impl Sync for TpmErrorKind
impl Unpin for TpmErrorKind
impl !UnwindSafe for TpmErrorKind
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