#[repr(C)]pub struct TcgBootServiceCapability {
pub size: u8,
pub structure_version: TcgVersion,
pub protocol_spec_version: TcgVersion,
pub hash_algorithm_bitmap: u8,
pub tpm_present_flag: u8,
pub tpm_deactivated_flag: u8,
}
Expand description
Information about the protocol and the TPM device.
Fields§
§size: u8
§structure_version: TcgVersion
§protocol_spec_version: TcgVersion
§hash_algorithm_bitmap: u8
§tpm_present_flag: u8
§tpm_deactivated_flag: u8
Trait Implementations§
Source§impl Clone for TcgBootServiceCapability
impl Clone for TcgBootServiceCapability
Source§fn clone(&self) -> TcgBootServiceCapability
fn clone(&self) -> TcgBootServiceCapability
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TcgBootServiceCapability
impl Debug for TcgBootServiceCapability
Source§impl Default for TcgBootServiceCapability
impl Default for TcgBootServiceCapability
Source§fn default() -> TcgBootServiceCapability
fn default() -> TcgBootServiceCapability
Returns the “default value” for a type. Read more
Source§impl Ord for TcgBootServiceCapability
impl Ord for TcgBootServiceCapability
Source§fn cmp(&self, other: &TcgBootServiceCapability) -> Ordering
fn cmp(&self, other: &TcgBootServiceCapability) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TcgBootServiceCapability
impl PartialEq for TcgBootServiceCapability
Source§impl PartialOrd for TcgBootServiceCapability
impl PartialOrd for TcgBootServiceCapability
impl Copy for TcgBootServiceCapability
impl Eq for TcgBootServiceCapability
impl StructuralPartialEq for TcgBootServiceCapability
Auto Trait Implementations§
impl Freeze for TcgBootServiceCapability
impl RefUnwindSafe for TcgBootServiceCapability
impl Send for TcgBootServiceCapability
impl Sync for TcgBootServiceCapability
impl Unpin for TcgBootServiceCapability
impl UnwindSafe for TcgBootServiceCapability
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