pub struct Flags(/* private fields */);
Implementations§
Source§impl Flags
impl Flags
Sourcepub const fn serial_controllers_enabled(&self) -> bool
pub const fn serial_controllers_enabled(&self) -> bool
Bits: 0..1
Sourcepub const fn with_serial_controllers_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_serial_controllers_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_serial_controllers_enabled(self, value: bool) -> Self
pub const fn with_serial_controllers_enabled(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_serial_controllers_enabled(&mut self, value: bool)
pub const fn set_serial_controllers_enabled(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn set_serial_controllers_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_serial_controllers_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 0..1
Sourcepub const fn pause_after_boot_failure(&self) -> bool
pub const fn pause_after_boot_failure(&self) -> bool
Bits: 1..2
Sourcepub const fn with_pause_after_boot_failure_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_pause_after_boot_failure_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_pause_after_boot_failure(self, value: bool) -> Self
pub const fn with_pause_after_boot_failure(self, value: bool) -> Self
Bits: 1..2
Sourcepub const fn set_pause_after_boot_failure(&mut self, value: bool)
pub const fn set_pause_after_boot_failure(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn set_pause_after_boot_failure_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_pause_after_boot_failure_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 1..2
Sourcepub const fn with_pxe_ip_v6_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pxe_ip_v6_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_pxe_ip_v6(self, value: bool) -> Self
pub const fn with_pxe_ip_v6(self, value: bool) -> Self
Bits: 2..3
Sourcepub const fn set_pxe_ip_v6(&mut self, value: bool)
pub const fn set_pxe_ip_v6(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn debugger_enabled(&self) -> bool
pub const fn debugger_enabled(&self) -> bool
Bits: 3..4
Sourcepub const fn with_debugger_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_debugger_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_debugger_enabled(self, value: bool) -> Self
pub const fn with_debugger_enabled(self, value: bool) -> Self
Bits: 3..4
Sourcepub const fn set_debugger_enabled(&mut self, value: bool)
pub const fn set_debugger_enabled(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn set_debugger_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_debugger_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 3..4
Sourcepub const fn load_oemp_table(&self) -> bool
pub const fn load_oemp_table(&self) -> bool
Bits: 4..5
Sourcepub const fn with_load_oemp_table_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_load_oemp_table_checked(self, value: bool) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_load_oemp_table(self, value: bool) -> Self
pub const fn with_load_oemp_table(self, value: bool) -> Self
Bits: 4..5
Sourcepub const fn set_load_oemp_table(&mut self, value: bool)
pub const fn set_load_oemp_table(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn set_load_oemp_table_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_load_oemp_table_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 4..5
Sourcepub const fn tpm_enabled(&self) -> bool
pub const fn tpm_enabled(&self) -> bool
Bits: 5..6
Sourcepub const fn with_tpm_enabled_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tpm_enabled_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_tpm_enabled(self, value: bool) -> Self
pub const fn with_tpm_enabled(self, value: bool) -> Self
Bits: 5..6
Sourcepub const fn set_tpm_enabled(&mut self, value: bool)
pub const fn set_tpm_enabled(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn hibernate_enabled(&self) -> bool
pub const fn hibernate_enabled(&self) -> bool
Bits: 6..7
Sourcepub const fn with_hibernate_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_hibernate_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_hibernate_enabled(self, value: bool) -> Self
pub const fn with_hibernate_enabled(self, value: bool) -> Self
Bits: 6..7
Sourcepub const fn set_hibernate_enabled(&mut self, value: bool)
pub const fn set_hibernate_enabled(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn set_hibernate_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_hibernate_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 6..7
Sourcepub const fn console(&self) -> ConsolePort
pub const fn console(&self) -> ConsolePort
Bits: 7..9
Sourcepub const fn with_console_checked(self, value: ConsolePort) -> Result<Self, ()>
pub const fn with_console_checked(self, value: ConsolePort) -> Result<Self, ()>
Bits: 7..9
Sourcepub const fn with_console(self, value: ConsolePort) -> Self
pub const fn with_console(self, value: ConsolePort) -> Self
Bits: 7..9
Sourcepub const fn set_console(&mut self, value: ConsolePort)
pub const fn set_console(&mut self, value: ConsolePort)
Bits: 7..9
Sourcepub const fn set_console_checked(
&mut self,
value: ConsolePort,
) -> Result<(), ()>
pub const fn set_console_checked( &mut self, value: ConsolePort, ) -> Result<(), ()>
Bits: 7..9
Sourcepub const fn memory_attributes_table_enabled(&self) -> bool
pub const fn memory_attributes_table_enabled(&self) -> bool
Bits: 9..10
Sourcepub const fn with_memory_attributes_table_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_memory_attributes_table_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 9..10
Sourcepub const fn with_memory_attributes_table_enabled(self, value: bool) -> Self
pub const fn with_memory_attributes_table_enabled(self, value: bool) -> Self
Bits: 9..10
Sourcepub const fn set_memory_attributes_table_enabled(&mut self, value: bool)
pub const fn set_memory_attributes_table_enabled(&mut self, value: bool)
Bits: 9..10
Sourcepub const fn set_memory_attributes_table_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_memory_attributes_table_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 9..10
Sourcepub const fn virtual_battery_enabled(&self) -> bool
pub const fn virtual_battery_enabled(&self) -> bool
Bits: 10..11
Sourcepub const fn with_virtual_battery_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_virtual_battery_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 10..11
Sourcepub const fn with_virtual_battery_enabled(self, value: bool) -> Self
pub const fn with_virtual_battery_enabled(self, value: bool) -> Self
Bits: 10..11
Sourcepub const fn set_virtual_battery_enabled(&mut self, value: bool)
pub const fn set_virtual_battery_enabled(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn set_virtual_battery_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_virtual_battery_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 10..11
Sourcepub const fn sgx_memory_enabled(&self) -> bool
pub const fn sgx_memory_enabled(&self) -> bool
Bits: 11..12
Sourcepub const fn with_sgx_memory_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_sgx_memory_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 11..12
Sourcepub const fn with_sgx_memory_enabled(self, value: bool) -> Self
pub const fn with_sgx_memory_enabled(self, value: bool) -> Self
Bits: 11..12
Sourcepub const fn set_sgx_memory_enabled(&mut self, value: bool)
pub const fn set_sgx_memory_enabled(&mut self, value: bool)
Bits: 11..12
Sourcepub const fn set_sgx_memory_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_sgx_memory_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 11..12
Sourcepub const fn is_vmbfs_boot(&self) -> bool
pub const fn is_vmbfs_boot(&self) -> bool
Bits: 12..13
Sourcepub const fn with_is_vmbfs_boot_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_is_vmbfs_boot_checked(self, value: bool) -> Result<Self, ()>
Bits: 12..13
Sourcepub const fn with_is_vmbfs_boot(self, value: bool) -> Self
pub const fn with_is_vmbfs_boot(self, value: bool) -> Self
Bits: 12..13
Sourcepub const fn set_is_vmbfs_boot(&mut self, value: bool)
pub const fn set_is_vmbfs_boot(&mut self, value: bool)
Bits: 12..13
Sourcepub const fn measure_additional_pcrs(&self) -> bool
pub const fn measure_additional_pcrs(&self) -> bool
Bits: 13..14
Sourcepub const fn with_measure_additional_pcrs_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_measure_additional_pcrs_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 13..14
Sourcepub const fn with_measure_additional_pcrs(self, value: bool) -> Self
pub const fn with_measure_additional_pcrs(self, value: bool) -> Self
Bits: 13..14
Sourcepub const fn set_measure_additional_pcrs(&mut self, value: bool)
pub const fn set_measure_additional_pcrs(&mut self, value: bool)
Bits: 13..14
Sourcepub const fn set_measure_additional_pcrs_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_measure_additional_pcrs_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 13..14
Sourcepub const fn disable_frontpage(&self) -> bool
pub const fn disable_frontpage(&self) -> bool
Bits: 14..15
Sourcepub const fn with_disable_frontpage_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_disable_frontpage_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 14..15
Sourcepub const fn with_disable_frontpage(self, value: bool) -> Self
pub const fn with_disable_frontpage(self, value: bool) -> Self
Bits: 14..15
Sourcepub const fn set_disable_frontpage(&mut self, value: bool)
pub const fn set_disable_frontpage(&mut self, value: bool)
Bits: 14..15
Sourcepub const fn set_disable_frontpage_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_disable_frontpage_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 14..15
Sourcepub const fn default_boot_always_attempt(&self) -> bool
pub const fn default_boot_always_attempt(&self) -> bool
Bits: 15..16
Sourcepub const fn with_default_boot_always_attempt_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_default_boot_always_attempt_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 15..16
Sourcepub const fn with_default_boot_always_attempt(self, value: bool) -> Self
pub const fn with_default_boot_always_attempt(self, value: bool) -> Self
Bits: 15..16
Sourcepub const fn set_default_boot_always_attempt(&mut self, value: bool)
pub const fn set_default_boot_always_attempt(&mut self, value: bool)
Bits: 15..16
Sourcepub const fn set_default_boot_always_attempt_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_default_boot_always_attempt_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 15..16
Sourcepub const fn low_power_s0_idle_enabled(&self) -> bool
pub const fn low_power_s0_idle_enabled(&self) -> bool
Bits: 16..17
Sourcepub const fn with_low_power_s0_idle_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_low_power_s0_idle_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 16..17
Sourcepub const fn with_low_power_s0_idle_enabled(self, value: bool) -> Self
pub const fn with_low_power_s0_idle_enabled(self, value: bool) -> Self
Bits: 16..17
Sourcepub const fn set_low_power_s0_idle_enabled(&mut self, value: bool)
pub const fn set_low_power_s0_idle_enabled(&mut self, value: bool)
Bits: 16..17
Sourcepub const fn set_low_power_s0_idle_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_low_power_s0_idle_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 16..17
Sourcepub const fn vpci_boot_enabled(&self) -> bool
pub const fn vpci_boot_enabled(&self) -> bool
Bits: 17..18
Sourcepub const fn with_vpci_boot_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_vpci_boot_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 17..18
Sourcepub const fn with_vpci_boot_enabled(self, value: bool) -> Self
pub const fn with_vpci_boot_enabled(self, value: bool) -> Self
Bits: 17..18
Sourcepub const fn set_vpci_boot_enabled(&mut self, value: bool)
pub const fn set_vpci_boot_enabled(&mut self, value: bool)
Bits: 17..18
Sourcepub const fn set_vpci_boot_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_vpci_boot_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 17..18
Sourcepub const fn proc_idle_enabled(&self) -> bool
pub const fn proc_idle_enabled(&self) -> bool
Bits: 18..19
Sourcepub const fn with_proc_idle_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_proc_idle_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 18..19
Sourcepub const fn with_proc_idle_enabled(self, value: bool) -> Self
pub const fn with_proc_idle_enabled(self, value: bool) -> Self
Bits: 18..19
Sourcepub const fn set_proc_idle_enabled(&mut self, value: bool)
pub const fn set_proc_idle_enabled(&mut self, value: bool)
Bits: 18..19
Sourcepub const fn set_proc_idle_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_proc_idle_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 18..19
Sourcepub const fn disable_sha384_pcr(&self) -> bool
pub const fn disable_sha384_pcr(&self) -> bool
Bits: 19..20
Sourcepub const fn with_disable_sha384_pcr_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_disable_sha384_pcr_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 19..20
Sourcepub const fn with_disable_sha384_pcr(self, value: bool) -> Self
pub const fn with_disable_sha384_pcr(self, value: bool) -> Self
Bits: 19..20
Sourcepub const fn set_disable_sha384_pcr(&mut self, value: bool)
pub const fn set_disable_sha384_pcr(&mut self, value: bool)
Bits: 19..20
Sourcepub const fn set_disable_sha384_pcr_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_disable_sha384_pcr_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 19..20
Sourcepub const fn media_present_enabled_by_default(&self) -> bool
pub const fn media_present_enabled_by_default(&self) -> bool
Bits: 20..21
Sourcepub const fn with_media_present_enabled_by_default_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_media_present_enabled_by_default_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 20..21
Sourcepub const fn with_media_present_enabled_by_default(self, value: bool) -> Self
pub const fn with_media_present_enabled_by_default(self, value: bool) -> Self
Bits: 20..21
Sourcepub const fn set_media_present_enabled_by_default(&mut self, value: bool)
pub const fn set_media_present_enabled_by_default(&mut self, value: bool)
Bits: 20..21
Sourcepub const fn set_media_present_enabled_by_default_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_media_present_enabled_by_default_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 20..21
Sourcepub const fn memory_protection(&self) -> MemoryProtection
pub const fn memory_protection(&self) -> MemoryProtection
Bits: 21..23
Sourcepub const fn with_memory_protection_checked(
self,
value: MemoryProtection,
) -> Result<Self, ()>
pub const fn with_memory_protection_checked( self, value: MemoryProtection, ) -> Result<Self, ()>
Bits: 21..23
Sourcepub const fn with_memory_protection(self, value: MemoryProtection) -> Self
pub const fn with_memory_protection(self, value: MemoryProtection) -> Self
Bits: 21..23
Sourcepub const fn set_memory_protection(&mut self, value: MemoryProtection)
pub const fn set_memory_protection(&mut self, value: MemoryProtection)
Bits: 21..23
Sourcepub const fn set_memory_protection_checked(
&mut self,
value: MemoryProtection,
) -> Result<(), ()>
pub const fn set_memory_protection_checked( &mut self, value: MemoryProtection, ) -> Result<(), ()>
Bits: 21..23
Sourcepub const fn enable_imc_when_isolated(&self) -> bool
pub const fn enable_imc_when_isolated(&self) -> bool
Bits: 23..24
Sourcepub const fn with_enable_imc_when_isolated_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_enable_imc_when_isolated_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 23..24
Sourcepub const fn with_enable_imc_when_isolated(self, value: bool) -> Self
pub const fn with_enable_imc_when_isolated(self, value: bool) -> Self
Bits: 23..24
Sourcepub const fn set_enable_imc_when_isolated(&mut self, value: bool)
pub const fn set_enable_imc_when_isolated(&mut self, value: bool)
Bits: 23..24
Sourcepub const fn set_enable_imc_when_isolated_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_enable_imc_when_isolated_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 23..24
Sourcepub const fn watchdog_enabled(&self) -> bool
pub const fn watchdog_enabled(&self) -> bool
Bits: 24..25
Sourcepub const fn with_watchdog_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_watchdog_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 24..25
Sourcepub const fn with_watchdog_enabled(self, value: bool) -> Self
pub const fn with_watchdog_enabled(self, value: bool) -> Self
Bits: 24..25
Sourcepub const fn set_watchdog_enabled(&mut self, value: bool)
pub const fn set_watchdog_enabled(&mut self, value: bool)
Bits: 24..25
Sourcepub const fn set_watchdog_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_watchdog_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 24..25
Sourcepub const fn tpm_locality_regs_enabled(&self) -> bool
pub const fn tpm_locality_regs_enabled(&self) -> bool
Bits: 25..26
Sourcepub const fn with_tpm_locality_regs_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_tpm_locality_regs_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 25..26
Sourcepub const fn with_tpm_locality_regs_enabled(self, value: bool) -> Self
pub const fn with_tpm_locality_regs_enabled(self, value: bool) -> Self
Bits: 25..26
Sourcepub const fn set_tpm_locality_regs_enabled(&mut self, value: bool)
pub const fn set_tpm_locality_regs_enabled(&mut self, value: bool)
Bits: 25..26
Sourcepub const fn set_tpm_locality_regs_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_tpm_locality_regs_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 25..26
Sourcepub const fn dhcp6_link_layer_address(&self) -> bool
pub const fn dhcp6_link_layer_address(&self) -> bool
Bits: 26..27
Sourcepub const fn with_dhcp6_link_layer_address_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_dhcp6_link_layer_address_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn with_dhcp6_link_layer_address(self, value: bool) -> Self
pub const fn with_dhcp6_link_layer_address(self, value: bool) -> Self
Bits: 26..27
Sourcepub const fn set_dhcp6_link_layer_address(&mut self, value: bool)
pub const fn set_dhcp6_link_layer_address(&mut self, value: bool)
Bits: 26..27
Sourcepub const fn set_dhcp6_link_layer_address_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_dhcp6_link_layer_address_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 26..27
Sourcepub const fn cxl_memory_enabled(&self) -> bool
pub const fn cxl_memory_enabled(&self) -> bool
Bits: 27..28
Sourcepub const fn with_cxl_memory_enabled_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_cxl_memory_enabled_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 27..28
Sourcepub const fn with_cxl_memory_enabled(self, value: bool) -> Self
pub const fn with_cxl_memory_enabled(self, value: bool) -> Self
Bits: 27..28
Sourcepub const fn set_cxl_memory_enabled(&mut self, value: bool)
pub const fn set_cxl_memory_enabled(&mut self, value: bool)
Bits: 27..28
Sourcepub const fn set_cxl_memory_enabled_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_cxl_memory_enabled_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 27..28
Sourcepub const fn mtrrs_initialized_at_load(&self) -> bool
pub const fn mtrrs_initialized_at_load(&self) -> bool
Bits: 28..29
Sourcepub const fn with_mtrrs_initialized_at_load_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_mtrrs_initialized_at_load_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 28..29
Sourcepub const fn with_mtrrs_initialized_at_load(self, value: bool) -> Self
pub const fn with_mtrrs_initialized_at_load(self, value: bool) -> Self
Bits: 28..29
Sourcepub const fn set_mtrrs_initialized_at_load(&mut self, value: bool)
pub const fn set_mtrrs_initialized_at_load(&mut self, value: bool)
Bits: 28..29
Trait Implementations§
Source§impl BlobStructure for Flags
impl BlobStructure for Flags
const STRUCTURE_TYPE: BlobStructureType = BlobStructureType::Flags
Source§impl FromBytes for Flagswhere
u64: FromBytes,
impl FromBytes for Flagswhere
u64: FromBytes,
§fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
&Self
. Read more§fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
Source§impl FromZeros for Flagswhere
u64: FromZeros,
impl FromZeros for Flagswhere
u64: FromZeros,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Self
from zeroed bytes. Read more§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Box<Self>
from zeroed bytes. Read more§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Vec<Self>
from zeroed bytes. Read moreSource§impl IntoBytes for Flagswhere
u64: IntoBytes,
impl IntoBytes for Flagswhere
u64: IntoBytes,
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl KnownLayout for Flagswhere
Self: Sized,
impl KnownLayout for Flagswhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
Self
. Read more