pub enum TpmBackendConfig {
VtpmProxy,
SwtpmSocket(PathBuf),
}Expand description
Which backend the virtio-tpm device talks to.
Variants§
VtpmProxy
ChromeOS vtpm daemon, reached over D-Bus.
SwtpmSocket(PathBuf)
swtpm instance listening on a Unix socket.
Trait Implementations§
Source§impl Default for TpmBackendConfig
impl Default for TpmBackendConfig
Source§fn default() -> TpmBackendConfig
fn default() -> TpmBackendConfig
Returns the “default value” for a type. Read more
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
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