#[non_exhaustive]#[repr(u16)]pub enum TpmSu {
Clear = 0,
State = 1,
}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.
Implementations§
Trait Implementations§
impl Copy for TpmSu
impl Eq for TpmSu
impl StructuralPartialEq for TpmSu
Source§impl TpmMarshal for TpmSu
impl TpmMarshal for TpmSu
Auto Trait Implementations§
impl Freeze for TpmSu
impl RefUnwindSafe for TpmSu
impl Send for TpmSu
impl Sync for TpmSu
impl Unpin for TpmSu
impl UnsafeUnpin for TpmSu
impl UnwindSafe for TpmSu
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