pub struct OffsetMap { /* private fields */ }
Expand description
Remaps the offset of block requests based on an internal map. TODO(https://fxbug.dev/402515764): For now, this just supports a single entry in the map, which is all that is required for GPT partitions. If we want to support this for FVM, we will need to support multiple entries, which requires changing the block server to support request splitting.
Implementations§
Auto Trait Implementations§
impl Freeze for OffsetMap
impl RefUnwindSafe for OffsetMap
impl Send for OffsetMap
impl Sync for OffsetMap
impl Unpin for OffsetMap
impl UnwindSafe for OffsetMap
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