#[non_exhaustive]pub enum TpmVersion {
V1_2,
V2_0,
}Expand description
A TPM specification version.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for TpmVersion
impl Clone for TpmVersion
impl Copy for TpmVersion
Source§impl Debug for TpmVersion
impl Debug for TpmVersion
impl Eq for TpmVersion
Source§impl Hash for TpmVersion
impl Hash for TpmVersion
Source§impl PartialEq for TpmVersion
impl PartialEq for TpmVersion
impl StructuralPartialEq for TpmVersion
Auto Trait Implementations§
impl Forget for TpmVersion
impl Freeze for TpmVersion
impl Move for TpmVersion
impl RefUnwindSafe for TpmVersion
impl Send for TpmVersion
impl Sync for TpmVersion
impl Unpin for TpmVersion
impl UnsafeUnpin for TpmVersion
impl UnwindSafe for TpmVersion
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