pub struct TpmBackendConfig {
pub path: String,
pub tcti: String,
}Expand description
TPM backend configuration
Fields§
§path: StringPath to TPM storage directory
tcti: StringTPM TCTI (TPM Command Transmission Interface) configuration
Implementations§
Source§impl TpmBackendConfig
impl TpmBackendConfig
Sourcepub fn field_docs() -> &'static [(&'static str, &'static str)]
pub fn field_docs() -> &'static [(&'static str, &'static str)]
Get documentation for all fields Returns an array of (field_name, documentation) tuples
Sourcepub fn struct_doc() -> &'static str
pub fn struct_doc() -> &'static str
Get struct-level documentation
Sourcepub fn to_toml_fields(&self) -> Vec<(&'static str, String)>
pub fn to_toml_fields(&self) -> Vec<(&'static str, String)>
Get field values as TOML-formatted strings
Trait Implementations§
Source§impl ClapSerde for TpmBackendConfig
impl ClapSerde for TpmBackendConfig
Source§impl Clone for TpmBackendConfig
impl Clone for TpmBackendConfig
Source§fn clone(&self) -> TpmBackendConfig
fn clone(&self) -> TpmBackendConfig
Returns a duplicate 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 TpmBackendConfig
impl Debug for TpmBackendConfig
Source§impl<'de> Deserialize<'de> for TpmBackendConfig
impl<'de> Deserialize<'de> for TpmBackendConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&mut <TpmBackendConfig as ClapSerde>::Opt> for TpmBackendConfig
impl From<&mut <TpmBackendConfig as ClapSerde>::Opt> for TpmBackendConfig
Source§impl From<<TpmBackendConfig as ClapSerde>::Opt> for TpmBackendConfig
impl From<<TpmBackendConfig as ClapSerde>::Opt> for TpmBackendConfig
Auto Trait Implementations§
impl Freeze for TpmBackendConfig
impl RefUnwindSafe for TpmBackendConfig
impl Send for TpmBackendConfig
impl Sync for TpmBackendConfig
impl Unpin for TpmBackendConfig
impl UnwindSafe for TpmBackendConfig
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