Enum qapi_qmp::QCryptoBlockCreateOptions
[−]
[src]
pub enum QCryptoBlockCreateOptions { qcow { key_secret: Option<String>, }, luks { cipher_mode: Option<QCryptoCipherMode>, ivgen_alg: Option<QCryptoIVGenAlgorithm>, iter_time: Option<isize>, ivgen_hash_alg: Option<QCryptoHashAlgorithm>, hash_alg: Option<QCryptoHashAlgorithm>, cipher_alg: Option<QCryptoCipherAlgorithm>, }, }
Variants
qcow
Fields of qcow
key_secret: Option<String> |
luks
Fields of luks
cipher_mode: Option<QCryptoCipherMode> | |
ivgen_alg: Option<QCryptoIVGenAlgorithm> | |
iter_time: Option<isize> | |
ivgen_hash_alg: Option<QCryptoHashAlgorithm> | |
hash_alg: Option<QCryptoHashAlgorithm> | |
cipher_alg: Option<QCryptoCipherAlgorithm> |
Methods
impl QCryptoBlockCreateOptions
[src]
pub fn format(&self) -> QCryptoBlockFormat
[src]
Trait Implementations
impl Debug for QCryptoBlockCreateOptions
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for QCryptoBlockCreateOptions
[src]
fn clone(&self) -> QCryptoBlockCreateOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more