pub struct ManagementVtlFeatures(/* private fields */);Expand description
Management VTL Feature Flags
Implementations§
Source§impl ManagementVtlFeatures
impl ManagementVtlFeatures
Sourcepub const fn strict_encryption_policy(&self) -> bool
pub const fn strict_encryption_policy(&self) -> bool
Bits: 0..1
Sourcepub const fn with_strict_encryption_policy_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_strict_encryption_policy_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_strict_encryption_policy(self, value: bool) -> Self
pub const fn with_strict_encryption_policy(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_strict_encryption_policy(&mut self, value: bool)
pub const fn set_strict_encryption_policy(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn set_strict_encryption_policy_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_strict_encryption_policy_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 0..1
Sourcepub const fn load_firmware_supported(&self) -> bool
pub const fn load_firmware_supported(&self) -> bool
The host supports the LOAD_FIRMWARE host request (VTL0 firmware
overload). Bit 1 (0x00000002).
Bits: 1..2
Sourcepub const fn with_load_firmware_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_load_firmware_supported_checked( self, value: bool, ) -> Result<Self, ()>
The host supports the LOAD_FIRMWARE host request (VTL0 firmware
overload). Bit 1 (0x00000002).
Bits: 1..2
Sourcepub const fn with_load_firmware_supported(self, value: bool) -> Self
pub const fn with_load_firmware_supported(self, value: bool) -> Self
The host supports the LOAD_FIRMWARE host request (VTL0 firmware
overload). Bit 1 (0x00000002).
Bits: 1..2
Sourcepub const fn set_load_firmware_supported(&mut self, value: bool)
pub const fn set_load_firmware_supported(&mut self, value: bool)
The host supports the LOAD_FIRMWARE host request (VTL0 firmware
overload). Bit 1 (0x00000002).
Bits: 1..2
Sourcepub const fn set_load_firmware_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_load_firmware_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
The host supports the LOAD_FIRMWARE host request (VTL0 firmware
overload). Bit 1 (0x00000002).
Bits: 1..2
Sourcepub const fn control_ak_cert_provisioning(&self) -> bool
pub const fn control_ak_cert_provisioning(&self) -> bool
Bits: 2..3
Sourcepub const fn with_control_ak_cert_provisioning_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_control_ak_cert_provisioning_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_control_ak_cert_provisioning(self, value: bool) -> Self
pub const fn with_control_ak_cert_provisioning(self, value: bool) -> Self
Bits: 2..3
Sourcepub const fn set_control_ak_cert_provisioning(&mut self, value: bool)
pub const fn set_control_ak_cert_provisioning(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn set_control_ak_cert_provisioning_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_control_ak_cert_provisioning_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 2..3
Sourcepub const fn attempt_ak_cert_callback(&self) -> bool
pub const fn attempt_ak_cert_callback(&self) -> bool
Bits: 3..4
Sourcepub const fn with_attempt_ak_cert_callback_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_attempt_ak_cert_callback_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_attempt_ak_cert_callback(self, value: bool) -> Self
pub const fn with_attempt_ak_cert_callback(self, value: bool) -> Self
Bits: 3..4
Sourcepub const fn set_attempt_ak_cert_callback(&mut self, value: bool)
pub const fn set_attempt_ak_cert_callback(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn set_attempt_ak_cert_callback_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_attempt_ak_cert_callback_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 3..4
Sourcepub const fn tx_only_serial_port(&self) -> bool
pub const fn tx_only_serial_port(&self) -> bool
Bits: 4..5
Sourcepub const fn with_tx_only_serial_port_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_tx_only_serial_port_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_tx_only_serial_port(self, value: bool) -> Self
pub const fn with_tx_only_serial_port(self, value: bool) -> Self
Bits: 4..5
Sourcepub const fn set_tx_only_serial_port(&mut self, value: bool)
pub const fn set_tx_only_serial_port(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn set_tx_only_serial_port_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_tx_only_serial_port_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 4..5
Sourcepub const fn use_tpm_138_by_default(&self) -> bool
pub const fn use_tpm_138_by_default(&self) -> bool
Bits: 6..7
Sourcepub const fn with_use_tpm_138_by_default_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_use_tpm_138_by_default_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_use_tpm_138_by_default(self, value: bool) -> Self
pub const fn with_use_tpm_138_by_default(self, value: bool) -> Self
Bits: 6..7
Sourcepub const fn set_use_tpm_138_by_default(&mut self, value: bool)
pub const fn set_use_tpm_138_by_default(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn set_use_tpm_138_by_default_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_use_tpm_138_by_default_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 6..7
Sourcepub const fn use_tpm_185_by_default(&self) -> bool
pub const fn use_tpm_185_by_default(&self) -> bool
Bits: 7..8
Sourcepub const fn with_use_tpm_185_by_default_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_use_tpm_185_by_default_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_use_tpm_185_by_default(self, value: bool) -> Self
pub const fn with_use_tpm_185_by_default(self, value: bool) -> Self
Bits: 7..8
Sourcepub const fn set_use_tpm_185_by_default(&mut self, value: bool)
pub const fn set_use_tpm_185_by_default(&mut self, value: bool)
Bits: 7..8
Trait Implementations§
Source§impl Clone for ManagementVtlFeatures
impl Clone for ManagementVtlFeatures
Source§fn clone(&self) -> ManagementVtlFeatures
fn clone(&self) -> ManagementVtlFeatures
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more