pub struct BackgroundControlPage { /* private fields */ }
Implementations§
Source§impl BackgroundControlPage
impl BackgroundControlPage
Sourcepub const fn into_bytes(self) -> [u8; 16]
pub const fn into_bytes(self) -> [u8; 16]
Sourcepub const fn from_bytes(bytes: [u8; 16]) -> Self
pub const fn from_bytes(bytes: [u8; 16]) -> Self
Converts the given bytes directly into the bitfield struct.
Source§impl BackgroundControlPage
impl BackgroundControlPage
Sourcepub fn parameters_saveable(&self) -> <B1 as Specifier>::InOut
pub fn parameters_saveable(&self) -> <B1 as Specifier>::InOut
Returns the value of parameters_saveable.
Sourcepub fn parameters_saveable_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn parameters_saveable_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of parameters_saveable.
#Errors
If the returned value contains an invalid bit pattern for parameters_saveable.
Sourcepub fn with_parameters_saveable(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_parameters_saveable(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of parameters_saveable set to the given value.
#Panics
If the given value is out of bounds for parameters_saveable.
Sourcepub fn with_parameters_saveable_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_parameters_saveable_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of parameters_saveable set to the given value.
#Errors
If the given value is out of bounds for parameters_saveable.
Sourcepub fn set_parameters_saveable(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_parameters_saveable(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of parameters_saveable to the given value.
#Panics
If the given value is out of bounds for parameters_saveable.
Sourcepub fn set_parameters_saveable_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_parameters_saveable_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of parameters_saveable to the given value.
#Errors
If the given value is out of bounds for parameters_saveable.
Sourcepub fn subpage_format(&self) -> <B1 as Specifier>::InOut
pub fn subpage_format(&self) -> <B1 as Specifier>::InOut
Returns the value of subpage_format.
Sourcepub fn subpage_format_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn subpage_format_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of subpage_format.
#Errors
If the returned value contains an invalid bit pattern for subpage_format.
Sourcepub fn with_subpage_format(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_subpage_format(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of subpage_format set to the given value.
#Panics
If the given value is out of bounds for subpage_format.
Sourcepub fn with_subpage_format_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_subpage_format_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of subpage_format set to the given value.
#Errors
If the given value is out of bounds for subpage_format.
Sourcepub fn set_subpage_format(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_subpage_format(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of subpage_format to the given value.
#Panics
If the given value is out of bounds for subpage_format.
Sourcepub fn set_subpage_format_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_subpage_format_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of subpage_format to the given value.
#Errors
If the given value is out of bounds for subpage_format.
Sourcepub fn page_code_or_err(
&self,
) -> Result<<B6 as Specifier>::InOut, InvalidBitPattern<<B6 as Specifier>::Bytes>>
pub fn page_code_or_err( &self, ) -> Result<<B6 as Specifier>::InOut, InvalidBitPattern<<B6 as Specifier>::Bytes>>
Returns the value of page_code.
#Errors
If the returned value contains an invalid bit pattern for page_code.
Sourcepub fn with_page_code(self, new_val: <B6 as Specifier>::InOut) -> Self
pub fn with_page_code(self, new_val: <B6 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of page_code set to the given value.
#Panics
If the given value is out of bounds for page_code.
Sourcepub fn with_page_code_checked(
self,
new_val: <B6 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_page_code_checked( self, new_val: <B6 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of page_code set to the given value.
#Errors
If the given value is out of bounds for page_code.
Sourcepub fn set_page_code(&mut self, new_val: <B6 as Specifier>::InOut)
pub fn set_page_code(&mut self, new_val: <B6 as Specifier>::InOut)
Sets the value of page_code to the given value.
#Panics
If the given value is out of bounds for page_code.
Sourcepub fn set_page_code_checked(
&mut self,
new_val: <B6 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_page_code_checked( &mut self, new_val: <B6 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of page_code to the given value.
#Errors
If the given value is out of bounds for page_code.
Sourcepub fn subpage_code(&self) -> <B8 as Specifier>::InOut
pub fn subpage_code(&self) -> <B8 as Specifier>::InOut
Returns the value of subpage_code.
Sourcepub fn subpage_code_or_err(
&self,
) -> Result<<B8 as Specifier>::InOut, InvalidBitPattern<<B8 as Specifier>::Bytes>>
pub fn subpage_code_or_err( &self, ) -> Result<<B8 as Specifier>::InOut, InvalidBitPattern<<B8 as Specifier>::Bytes>>
Returns the value of subpage_code.
#Errors
If the returned value contains an invalid bit pattern for subpage_code.
Sourcepub fn with_subpage_code(self, new_val: <B8 as Specifier>::InOut) -> Self
pub fn with_subpage_code(self, new_val: <B8 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of subpage_code set to the given value.
#Panics
If the given value is out of bounds for subpage_code.
Sourcepub fn with_subpage_code_checked(
self,
new_val: <B8 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_subpage_code_checked( self, new_val: <B8 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of subpage_code set to the given value.
#Errors
If the given value is out of bounds for subpage_code.
Sourcepub fn set_subpage_code(&mut self, new_val: <B8 as Specifier>::InOut)
pub fn set_subpage_code(&mut self, new_val: <B8 as Specifier>::InOut)
Sets the value of subpage_code to the given value.
#Panics
If the given value is out of bounds for subpage_code.
Sourcepub fn set_subpage_code_checked(
&mut self,
new_val: <B8 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_subpage_code_checked( &mut self, new_val: <B8 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of subpage_code to the given value.
#Errors
If the given value is out of bounds for subpage_code.
Sourcepub fn page_length(&self) -> <B16 as Specifier>::InOut
pub fn page_length(&self) -> <B16 as Specifier>::InOut
Returns the value of page_length.
Sourcepub fn page_length_or_err(
&self,
) -> Result<<B16 as Specifier>::InOut, InvalidBitPattern<<B16 as Specifier>::Bytes>>
pub fn page_length_or_err( &self, ) -> Result<<B16 as Specifier>::InOut, InvalidBitPattern<<B16 as Specifier>::Bytes>>
Returns the value of page_length.
#Errors
If the returned value contains an invalid bit pattern for page_length.
Sourcepub fn with_page_length(self, new_val: <B16 as Specifier>::InOut) -> Self
pub fn with_page_length(self, new_val: <B16 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of page_length set to the given value.
#Panics
If the given value is out of bounds for page_length.
Sourcepub fn with_page_length_checked(
self,
new_val: <B16 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_page_length_checked( self, new_val: <B16 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of page_length set to the given value.
#Errors
If the given value is out of bounds for page_length.
Sourcepub fn set_page_length(&mut self, new_val: <B16 as Specifier>::InOut)
pub fn set_page_length(&mut self, new_val: <B16 as Specifier>::InOut)
Sets the value of page_length to the given value.
#Panics
If the given value is out of bounds for page_length.
Sourcepub fn set_page_length_checked(
&mut self,
new_val: <B16 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_page_length_checked( &mut self, new_val: <B16 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of page_length to the given value.
#Errors
If the given value is out of bounds for page_length.
Sourcepub fn suspend_on_log_full(&self) -> <B1 as Specifier>::InOut
pub fn suspend_on_log_full(&self) -> <B1 as Specifier>::InOut
Returns the value of suspend_on_log_full.
Sourcepub fn suspend_on_log_full_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn suspend_on_log_full_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of suspend_on_log_full.
#Errors
If the returned value contains an invalid bit pattern for suspend_on_log_full.
Sourcepub fn with_suspend_on_log_full(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_suspend_on_log_full(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of suspend_on_log_full set to the given value.
#Panics
If the given value is out of bounds for suspend_on_log_full.
Sourcepub fn with_suspend_on_log_full_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_suspend_on_log_full_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of suspend_on_log_full set to the given value.
#Errors
If the given value is out of bounds for suspend_on_log_full.
Sourcepub fn set_suspend_on_log_full(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_suspend_on_log_full(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of suspend_on_log_full to the given value.
#Panics
If the given value is out of bounds for suspend_on_log_full.
Sourcepub fn set_suspend_on_log_full_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_suspend_on_log_full_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of suspend_on_log_full to the given value.
#Errors
If the given value is out of bounds for suspend_on_log_full.
Sourcepub fn log_only_when_intervention_required(&self) -> <B1 as Specifier>::InOut
pub fn log_only_when_intervention_required(&self) -> <B1 as Specifier>::InOut
Returns the value of log_only_when_intervention_required.
Sourcepub fn log_only_when_intervention_required_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn log_only_when_intervention_required_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of log_only_when_intervention_required.
#Errors
If the returned value contains an invalid bit pattern for log_only_when_intervention_required.
Sourcepub fn with_log_only_when_intervention_required(
self,
new_val: <B1 as Specifier>::InOut,
) -> Self
pub fn with_log_only_when_intervention_required( self, new_val: <B1 as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of log_only_when_intervention_required set to the given value.
#Panics
If the given value is out of bounds for log_only_when_intervention_required.
Sourcepub fn with_log_only_when_intervention_required_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_log_only_when_intervention_required_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of log_only_when_intervention_required set to the given value.
#Errors
If the given value is out of bounds for log_only_when_intervention_required.
Sourcepub fn set_log_only_when_intervention_required(
&mut self,
new_val: <B1 as Specifier>::InOut,
)
pub fn set_log_only_when_intervention_required( &mut self, new_val: <B1 as Specifier>::InOut, )
Sets the value of log_only_when_intervention_required to the given value.
#Panics
If the given value is out of bounds for log_only_when_intervention_required.
Sourcepub fn set_log_only_when_intervention_required_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_log_only_when_intervention_required_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of log_only_when_intervention_required to the given value.
#Errors
If the given value is out of bounds for log_only_when_intervention_required.
Sourcepub fn enable_background_medium_scan(&self) -> <B1 as Specifier>::InOut
pub fn enable_background_medium_scan(&self) -> <B1 as Specifier>::InOut
Returns the value of enable_background_medium_scan.
Sourcepub fn enable_background_medium_scan_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn enable_background_medium_scan_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of enable_background_medium_scan.
#Errors
If the returned value contains an invalid bit pattern for enable_background_medium_scan.
Sourcepub fn with_enable_background_medium_scan(
self,
new_val: <B1 as Specifier>::InOut,
) -> Self
pub fn with_enable_background_medium_scan( self, new_val: <B1 as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of enable_background_medium_scan set to the given value.
#Panics
If the given value is out of bounds for enable_background_medium_scan.
Sourcepub fn with_enable_background_medium_scan_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_enable_background_medium_scan_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of enable_background_medium_scan set to the given value.
#Errors
If the given value is out of bounds for enable_background_medium_scan.
Sourcepub fn set_enable_background_medium_scan(
&mut self,
new_val: <B1 as Specifier>::InOut,
)
pub fn set_enable_background_medium_scan( &mut self, new_val: <B1 as Specifier>::InOut, )
Sets the value of enable_background_medium_scan to the given value.
#Panics
If the given value is out of bounds for enable_background_medium_scan.
Sourcepub fn set_enable_background_medium_scan_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_enable_background_medium_scan_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of enable_background_medium_scan to the given value.
#Errors
If the given value is out of bounds for enable_background_medium_scan.
Sourcepub fn enable_pre_scan(&self) -> <B1 as Specifier>::InOut
pub fn enable_pre_scan(&self) -> <B1 as Specifier>::InOut
Returns the value of enable_pre_scan.
Sourcepub fn enable_pre_scan_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn enable_pre_scan_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of enable_pre_scan.
#Errors
If the returned value contains an invalid bit pattern for enable_pre_scan.
Sourcepub fn with_enable_pre_scan(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_enable_pre_scan(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of enable_pre_scan set to the given value.
#Panics
If the given value is out of bounds for enable_pre_scan.
Sourcepub fn with_enable_pre_scan_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_enable_pre_scan_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of enable_pre_scan set to the given value.
#Errors
If the given value is out of bounds for enable_pre_scan.
Sourcepub fn set_enable_pre_scan(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_enable_pre_scan(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of enable_pre_scan to the given value.
#Panics
If the given value is out of bounds for enable_pre_scan.
Sourcepub fn set_enable_pre_scan_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_enable_pre_scan_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of enable_pre_scan to the given value.
#Errors
If the given value is out of bounds for enable_pre_scan.
Sourcepub fn background_medium_scan_interval_time(&self) -> <B16 as Specifier>::InOut
pub fn background_medium_scan_interval_time(&self) -> <B16 as Specifier>::InOut
Returns the value of background_medium_scan_interval_time.
Sourcepub fn background_medium_scan_interval_time_or_err(
&self,
) -> Result<<B16 as Specifier>::InOut, InvalidBitPattern<<B16 as Specifier>::Bytes>>
pub fn background_medium_scan_interval_time_or_err( &self, ) -> Result<<B16 as Specifier>::InOut, InvalidBitPattern<<B16 as Specifier>::Bytes>>
Returns the value of background_medium_scan_interval_time.
#Errors
If the returned value contains an invalid bit pattern for background_medium_scan_interval_time.
Sourcepub fn with_background_medium_scan_interval_time(
self,
new_val: <B16 as Specifier>::InOut,
) -> Self
pub fn with_background_medium_scan_interval_time( self, new_val: <B16 as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of background_medium_scan_interval_time set to the given value.
#Panics
If the given value is out of bounds for background_medium_scan_interval_time.
Sourcepub fn with_background_medium_scan_interval_time_checked(
self,
new_val: <B16 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_background_medium_scan_interval_time_checked( self, new_val: <B16 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of background_medium_scan_interval_time set to the given value.
#Errors
If the given value is out of bounds for background_medium_scan_interval_time.
Sourcepub fn set_background_medium_scan_interval_time(
&mut self,
new_val: <B16 as Specifier>::InOut,
)
pub fn set_background_medium_scan_interval_time( &mut self, new_val: <B16 as Specifier>::InOut, )
Sets the value of background_medium_scan_interval_time to the given value.
#Panics
If the given value is out of bounds for background_medium_scan_interval_time.
Sourcepub fn set_background_medium_scan_interval_time_checked(
&mut self,
new_val: <B16 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_background_medium_scan_interval_time_checked( &mut self, new_val: <B16 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of background_medium_scan_interval_time to the given value.
#Errors
If the given value is out of bounds for background_medium_scan_interval_time.
Sourcepub fn background_pre_scan_time_limit(&self) -> <B16 as Specifier>::InOut
pub fn background_pre_scan_time_limit(&self) -> <B16 as Specifier>::InOut
Returns the value of background_pre_scan_time_limit.
Sourcepub fn background_pre_scan_time_limit_or_err(
&self,
) -> Result<<B16 as Specifier>::InOut, InvalidBitPattern<<B16 as Specifier>::Bytes>>
pub fn background_pre_scan_time_limit_or_err( &self, ) -> Result<<B16 as Specifier>::InOut, InvalidBitPattern<<B16 as Specifier>::Bytes>>
Returns the value of background_pre_scan_time_limit.
#Errors
If the returned value contains an invalid bit pattern for background_pre_scan_time_limit.
Sourcepub fn with_background_pre_scan_time_limit(
self,
new_val: <B16 as Specifier>::InOut,
) -> Self
pub fn with_background_pre_scan_time_limit( self, new_val: <B16 as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of background_pre_scan_time_limit set to the given value.
#Panics
If the given value is out of bounds for background_pre_scan_time_limit.
Sourcepub fn with_background_pre_scan_time_limit_checked(
self,
new_val: <B16 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_background_pre_scan_time_limit_checked( self, new_val: <B16 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of background_pre_scan_time_limit set to the given value.
#Errors
If the given value is out of bounds for background_pre_scan_time_limit.
Sourcepub fn set_background_pre_scan_time_limit(
&mut self,
new_val: <B16 as Specifier>::InOut,
)
pub fn set_background_pre_scan_time_limit( &mut self, new_val: <B16 as Specifier>::InOut, )
Sets the value of background_pre_scan_time_limit to the given value.
#Panics
If the given value is out of bounds for background_pre_scan_time_limit.
Sourcepub fn set_background_pre_scan_time_limit_checked(
&mut self,
new_val: <B16 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_background_pre_scan_time_limit_checked( &mut self, new_val: <B16 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of background_pre_scan_time_limit to the given value.
#Errors
If the given value is out of bounds for background_pre_scan_time_limit.
Sourcepub fn minimum_idle_time_before_background_scan(
&self,
) -> <B16 as Specifier>::InOut
pub fn minimum_idle_time_before_background_scan( &self, ) -> <B16 as Specifier>::InOut
Returns the value of minimum_idle_time_before_background_scan.
Sourcepub fn minimum_idle_time_before_background_scan_or_err(
&self,
) -> Result<<B16 as Specifier>::InOut, InvalidBitPattern<<B16 as Specifier>::Bytes>>
pub fn minimum_idle_time_before_background_scan_or_err( &self, ) -> Result<<B16 as Specifier>::InOut, InvalidBitPattern<<B16 as Specifier>::Bytes>>
Returns the value of minimum_idle_time_before_background_scan.
#Errors
If the returned value contains an invalid bit pattern for minimum_idle_time_before_background_scan.
Sourcepub fn with_minimum_idle_time_before_background_scan(
self,
new_val: <B16 as Specifier>::InOut,
) -> Self
pub fn with_minimum_idle_time_before_background_scan( self, new_val: <B16 as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of minimum_idle_time_before_background_scan set to the given value.
#Panics
If the given value is out of bounds for minimum_idle_time_before_background_scan.
Sourcepub fn with_minimum_idle_time_before_background_scan_checked(
self,
new_val: <B16 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_minimum_idle_time_before_background_scan_checked( self, new_val: <B16 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of minimum_idle_time_before_background_scan set to the given value.
#Errors
If the given value is out of bounds for minimum_idle_time_before_background_scan.
Sourcepub fn set_minimum_idle_time_before_background_scan(
&mut self,
new_val: <B16 as Specifier>::InOut,
)
pub fn set_minimum_idle_time_before_background_scan( &mut self, new_val: <B16 as Specifier>::InOut, )
Sets the value of minimum_idle_time_before_background_scan to the given value.
#Panics
If the given value is out of bounds for minimum_idle_time_before_background_scan.
Sourcepub fn set_minimum_idle_time_before_background_scan_checked(
&mut self,
new_val: <B16 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_minimum_idle_time_before_background_scan_checked( &mut self, new_val: <B16 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of minimum_idle_time_before_background_scan to the given value.
#Errors
If the given value is out of bounds for minimum_idle_time_before_background_scan.
Sourcepub fn maximum_time_to_suspend_background_scan(
&self,
) -> <B16 as Specifier>::InOut
pub fn maximum_time_to_suspend_background_scan( &self, ) -> <B16 as Specifier>::InOut
Returns the value of maximum_time_to_suspend_background_scan.
Sourcepub fn maximum_time_to_suspend_background_scan_or_err(
&self,
) -> Result<<B16 as Specifier>::InOut, InvalidBitPattern<<B16 as Specifier>::Bytes>>
pub fn maximum_time_to_suspend_background_scan_or_err( &self, ) -> Result<<B16 as Specifier>::InOut, InvalidBitPattern<<B16 as Specifier>::Bytes>>
Returns the value of maximum_time_to_suspend_background_scan.
#Errors
If the returned value contains an invalid bit pattern for maximum_time_to_suspend_background_scan.
Sourcepub fn with_maximum_time_to_suspend_background_scan(
self,
new_val: <B16 as Specifier>::InOut,
) -> Self
pub fn with_maximum_time_to_suspend_background_scan( self, new_val: <B16 as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of maximum_time_to_suspend_background_scan set to the given value.
#Panics
If the given value is out of bounds for maximum_time_to_suspend_background_scan.
Sourcepub fn with_maximum_time_to_suspend_background_scan_checked(
self,
new_val: <B16 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_maximum_time_to_suspend_background_scan_checked( self, new_val: <B16 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of maximum_time_to_suspend_background_scan set to the given value.
#Errors
If the given value is out of bounds for maximum_time_to_suspend_background_scan.
Sourcepub fn set_maximum_time_to_suspend_background_scan(
&mut self,
new_val: <B16 as Specifier>::InOut,
)
pub fn set_maximum_time_to_suspend_background_scan( &mut self, new_val: <B16 as Specifier>::InOut, )
Sets the value of maximum_time_to_suspend_background_scan to the given value.
#Panics
If the given value is out of bounds for maximum_time_to_suspend_background_scan.
Sourcepub fn set_maximum_time_to_suspend_background_scan_checked(
&mut self,
new_val: <B16 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_maximum_time_to_suspend_background_scan_checked( &mut self, new_val: <B16 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of maximum_time_to_suspend_background_scan to the given value.
#Errors
If the given value is out of bounds for maximum_time_to_suspend_background_scan.
Trait Implementations§
Source§impl CheckTotalSizeMultipleOf8 for BackgroundControlPage
impl CheckTotalSizeMultipleOf8 for BackgroundControlPage
Source§impl Clone for BackgroundControlPage
impl Clone for BackgroundControlPage
Source§fn clone(&self) -> BackgroundControlPage
fn clone(&self) -> BackgroundControlPage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more