pub enum ObjectOptions {
Show 44 variants authz_list { id: String, authz_list: AuthZListProperties, }, authz_listfile { id: String, authz_listfile: AuthZListFileProperties, }, authz_pam { id: String, authz_pam: AuthZPAMProperties, }, authz_simple { id: String, authz_simple: AuthZSimpleProperties, }, can_host_socketcan { id: String, can_host_socketcan: CanHostSocketcanProperties, }, colo_compare { id: String, colo_compare: ColoCompareProperties, }, cryptodev_backend { id: String, cryptodev_backend: CryptodevBackendProperties, }, cryptodev_backend_builtin { id: String, cryptodev_backend_builtin: CryptodevBackendProperties, }, cryptodev_backend_lkcf { id: String, cryptodev_backend_lkcf: CryptodevBackendProperties, }, cryptodev_vhost_user { id: String, cryptodev_vhost_user: CryptodevVhostUserProperties, }, dbus_vmstate { id: String, dbus_vmstate: DBusVMStateProperties, }, filter_buffer { id: String, filter_buffer: FilterBufferProperties, }, filter_dump { id: String, filter_dump: FilterDumpProperties, }, filter_mirror { id: String, filter_mirror: FilterMirrorProperties, }, filter_redirector { id: String, filter_redirector: FilterRedirectorProperties, }, filter_replay { id: String, filter_replay: NetfilterProperties, }, filter_rewriter { id: String, filter_rewriter: FilterRewriterProperties, }, input_barrier { id: String, input_barrier: InputBarrierProperties, }, input_linux { id: String, input_linux: InputLinuxProperties, }, iothread { id: String, iothread: IothreadProperties, }, main_loop { id: String, main_loop: MainLoopProperties, }, memory_backend_epc { id: String, memory_backend_epc: MemoryBackendEpcProperties, }, memory_backend_file { id: String, memory_backend_file: MemoryBackendFileProperties, }, memory_backend_memfd { id: String, memory_backend_memfd: MemoryBackendMemfdProperties, }, memory_backend_ram { id: String, memory_backend_ram: MemoryBackendProperties, }, pr_manager_helper { id: String, pr_manager_helper: PrManagerHelperProperties, }, qtest { id: String, qtest: QtestProperties, }, rng_builtin { id: String, rng_builtin: RngProperties, }, rng_egd { id: String, rng_egd: RngEgdProperties, }, rng_random { id: String, rng_random: RngRandomProperties, }, secret { id: String, secret: SecretProperties, }, secret_keyring { id: String, secret_keyring: SecretKeyringProperties, }, sev_guest { id: String, sev_guest: SevGuestProperties, }, thread_context { id: String, thread_context: ThreadContextProperties, }, throttle_group { id: String, throttle_group: ThrottleGroupProperties, }, tls_cipher_suites { id: String, tls_cipher_suites: TlsCredsProperties, }, tls_creds_anon { id: String, tls_creds_anon: TlsCredsAnonProperties, }, tls_creds_psk { id: String, tls_creds_psk: TlsCredsPskProperties, }, tls_creds_x509 { id: String, tls_creds_x509: TlsCredsX509Properties, }, x_remote_object { id: String, x_remote_object: RemoteObjectProperties, }, x_vfio_user_server { id: String, x_vfio_user_server: VfioUserServerProperties, }, can_bus(String), pef_guest(String), s390_pv_guest(String),
}

Variants§

§

authz_list

Fields

§

authz_listfile

Fields

§

authz_pam

Fields

§

authz_simple

Fields

§

can_host_socketcan

Fields

§can_host_socketcan: CanHostSocketcanProperties
§

colo_compare

Fields

§

cryptodev_backend

Fields

§cryptodev_backend: CryptodevBackendProperties
§

cryptodev_backend_builtin

Fields

§cryptodev_backend_builtin: CryptodevBackendProperties
§

cryptodev_backend_lkcf

Fields

§cryptodev_backend_lkcf: CryptodevBackendProperties
§

cryptodev_vhost_user

Fields

§cryptodev_vhost_user: CryptodevVhostUserProperties
§

dbus_vmstate

Fields

§

filter_buffer

Fields

§

filter_dump

Fields

§

filter_mirror

Fields

§

filter_redirector

Fields

§filter_redirector: FilterRedirectorProperties
§

filter_replay

Fields

§filter_replay: NetfilterProperties
§

filter_rewriter

Fields

§

input_barrier

Fields

§

input_linux

Fields

§

iothread

Fields

§

main_loop

Fields

§

memory_backend_epc

Fields

§memory_backend_epc: MemoryBackendEpcProperties
§

memory_backend_file

Fields

§memory_backend_file: MemoryBackendFileProperties
§

memory_backend_memfd

Fields

§memory_backend_memfd: MemoryBackendMemfdProperties
§

memory_backend_ram

Fields

§memory_backend_ram: MemoryBackendProperties
§

pr_manager_helper

Fields

§pr_manager_helper: PrManagerHelperProperties
§

qtest

Fields

§

rng_builtin

Fields

§rng_builtin: RngProperties
§

rng_egd

Fields

§

rng_random

Fields

§

secret

Fields

§

secret_keyring

Fields

§

sev_guest

Fields

§

thread_context

Fields

§

throttle_group

Fields

§

tls_cipher_suites

Fields

§tls_cipher_suites: TlsCredsProperties
§

tls_creds_anon

Fields

§tls_creds_anon: TlsCredsAnonProperties
§

tls_creds_psk

Fields

§

tls_creds_x509

Fields

§tls_creds_x509: TlsCredsX509Properties
§

x_remote_object

Fields

§x_remote_object: RemoteObjectProperties
§

x_vfio_user_server

Fields

§x_vfio_user_server: VfioUserServerProperties
§

can_bus(String)

§

pef_guest(String)

§

s390_pv_guest(String)

Implementations§

Trait Implementations§

source§

impl Clone for ObjectOptions

source§

fn clone(&self) -> ObjectOptions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ObjectOptions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ObjectOptions

source§

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<(AuthZListFileProperties, String)> for ObjectOptions

source§

fn from(val: (AuthZListFileProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(AuthZListProperties, String)> for ObjectOptions

source§

fn from(val: (AuthZListProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(AuthZPAMProperties, String)> for ObjectOptions

source§

fn from(val: (AuthZPAMProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(AuthZSimpleProperties, String)> for ObjectOptions

source§

fn from(val: (AuthZSimpleProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(CanHostSocketcanProperties, String)> for ObjectOptions

source§

fn from(val: (CanHostSocketcanProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(ColoCompareProperties, String)> for ObjectOptions

source§

fn from(val: (ColoCompareProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(CryptodevVhostUserProperties, String)> for ObjectOptions

source§

fn from(val: (CryptodevVhostUserProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(DBusVMStateProperties, String)> for ObjectOptions

source§

fn from(val: (DBusVMStateProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(FilterBufferProperties, String)> for ObjectOptions

source§

fn from(val: (FilterBufferProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(FilterDumpProperties, String)> for ObjectOptions

source§

fn from(val: (FilterDumpProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(FilterMirrorProperties, String)> for ObjectOptions

source§

fn from(val: (FilterMirrorProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(FilterRedirectorProperties, String)> for ObjectOptions

source§

fn from(val: (FilterRedirectorProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(FilterRewriterProperties, String)> for ObjectOptions

source§

fn from(val: (FilterRewriterProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(InputBarrierProperties, String)> for ObjectOptions

source§

fn from(val: (InputBarrierProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(InputLinuxProperties, String)> for ObjectOptions

source§

fn from(val: (InputLinuxProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(IothreadProperties, String)> for ObjectOptions

source§

fn from(val: (IothreadProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(MainLoopProperties, String)> for ObjectOptions

source§

fn from(val: (MainLoopProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(MemoryBackendEpcProperties, String)> for ObjectOptions

source§

fn from(val: (MemoryBackendEpcProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(MemoryBackendFileProperties, String)> for ObjectOptions

source§

fn from(val: (MemoryBackendFileProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(MemoryBackendMemfdProperties, String)> for ObjectOptions

source§

fn from(val: (MemoryBackendMemfdProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(MemoryBackendProperties, String)> for ObjectOptions

source§

fn from(val: (MemoryBackendProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(NetfilterProperties, String)> for ObjectOptions

source§

fn from(val: (NetfilterProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(PrManagerHelperProperties, String)> for ObjectOptions

source§

fn from(val: (PrManagerHelperProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(QtestProperties, String)> for ObjectOptions

source§

fn from(val: (QtestProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(RemoteObjectProperties, String)> for ObjectOptions

source§

fn from(val: (RemoteObjectProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(RngEgdProperties, String)> for ObjectOptions

source§

fn from(val: (RngEgdProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(RngProperties, String)> for ObjectOptions

source§

fn from(val: (RngProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(RngRandomProperties, String)> for ObjectOptions

source§

fn from(val: (RngRandomProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(SecretKeyringProperties, String)> for ObjectOptions

source§

fn from(val: (SecretKeyringProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(SecretProperties, String)> for ObjectOptions

source§

fn from(val: (SecretProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(SevGuestProperties, String)> for ObjectOptions

source§

fn from(val: (SevGuestProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(ThreadContextProperties, String)> for ObjectOptions

source§

fn from(val: (ThreadContextProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(ThrottleGroupProperties, String)> for ObjectOptions

source§

fn from(val: (ThrottleGroupProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(TlsCredsAnonProperties, String)> for ObjectOptions

source§

fn from(val: (TlsCredsAnonProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(TlsCredsProperties, String)> for ObjectOptions

source§

fn from(val: (TlsCredsProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(TlsCredsPskProperties, String)> for ObjectOptions

source§

fn from(val: (TlsCredsPskProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(TlsCredsX509Properties, String)> for ObjectOptions

source§

fn from(val: (TlsCredsX509Properties, String)) -> Self

Converts to this type from the input type.
source§

impl From<(VfioUserServerProperties, String)> for ObjectOptions

source§

fn from(val: (VfioUserServerProperties, String)) -> Self

Converts to this type from the input type.
source§

impl From<ObjectOptions> for object_add

source§

fn from(val: ObjectOptions) -> Self

Converts to this type from the input type.
source§

impl Serialize for ObjectOptions

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,