pub enum FlatRangeKind {
Ram {
block: Arc<RamBlock>,
},
Rom {
block: Arc<RamBlock>,
},
Io {
ops: Arc<Mutex<Box<dyn MmioOps>>>,
},
}Expand description
Discriminant carried by each flat range so the address space can dispatch reads/writes without revisiting the region tree.
Variants§
Auto Trait Implementations§
impl Freeze for FlatRangeKind
impl RefUnwindSafe for FlatRangeKind
impl Send for FlatRangeKind
impl Sync for FlatRangeKind
impl Unpin for FlatRangeKind
impl UnsafeUnpin for FlatRangeKind
impl UnwindSafe for FlatRangeKind
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