pub struct RegionConfig {
pub start: u32,
pub end: u32,
pub context_id: u8,
pub encrypted: bool,
}Expand description
Region address and encryption settings.
Fields§
§start: u32Inclusive start address (physical). Must be 4KiB-aligned.
end: u32Exclusive end address (physical). Must be 4KiB-aligned.
context_id: u8Cipher context ID (0..3).
encrypted: boolWhen true, traffic in this region is encrypted.
Trait Implementations§
Source§impl Clone for RegionConfig
impl Clone for RegionConfig
Source§fn clone(&self) -> RegionConfig
fn clone(&self) -> RegionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegionConfig
impl Debug for RegionConfig
Source§impl Format for RegionConfig
impl Format for RegionConfig
impl Copy for RegionConfig
Auto Trait Implementations§
impl Freeze for RegionConfig
impl RefUnwindSafe for RegionConfig
impl Send for RegionConfig
impl Sync for RegionConfig
impl Unpin for RegionConfig
impl UnwindSafe for RegionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more