Enum qapi_qmp::TpmTypeOptions
source · pub enum TpmTypeOptions {
emulator(TPMEmulatorOptionsWrapper),
passthrough(TPMPassthroughOptionsWrapper),
}
Variants§
emulator(TPMEmulatorOptionsWrapper)
passthrough(TPMPassthroughOptionsWrapper)
Implementations§
Trait Implementations§
source§impl Clone for TpmTypeOptions
impl Clone for TpmTypeOptions
source§fn clone(&self) -> TpmTypeOptions
fn clone(&self) -> TpmTypeOptions
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 TpmTypeOptions
impl Debug for TpmTypeOptions
source§impl<'de> Deserialize<'de> for TpmTypeOptions
impl<'de> Deserialize<'de> for TpmTypeOptions
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<TPMEmulatorOptions> for TpmTypeOptions
impl From<TPMEmulatorOptions> for TpmTypeOptions
source§fn from(val: TPMEmulatorOptions) -> Self
fn from(val: TPMEmulatorOptions) -> Self
Converts to this type from the input type.
source§impl From<TPMEmulatorOptionsWrapper> for TpmTypeOptions
impl From<TPMEmulatorOptionsWrapper> for TpmTypeOptions
source§fn from(val: TPMEmulatorOptionsWrapper) -> Self
fn from(val: TPMEmulatorOptionsWrapper) -> Self
Converts to this type from the input type.
source§impl From<TPMPassthroughOptions> for TpmTypeOptions
impl From<TPMPassthroughOptions> for TpmTypeOptions
source§fn from(val: TPMPassthroughOptions) -> Self
fn from(val: TPMPassthroughOptions) -> Self
Converts to this type from the input type.
source§impl From<TPMPassthroughOptionsWrapper> for TpmTypeOptions
impl From<TPMPassthroughOptionsWrapper> for TpmTypeOptions
source§fn from(val: TPMPassthroughOptionsWrapper) -> Self
fn from(val: TPMPassthroughOptionsWrapper) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TpmTypeOptions
impl Send for TpmTypeOptions
impl Sync for TpmTypeOptions
impl Unpin for TpmTypeOptions
impl UnwindSafe for TpmTypeOptions
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