Enum virtual_fs::mem_fs::offloaded_file::FileExtent
source · pub enum FileExtent {
MmapOffload {
offset: u64,
size: u64,
},
RepeatingBytes {
value: u8,
cnt: u64,
},
InMemory {
data: Bytes,
},
}
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FileExtent
impl Send for FileExtent
impl Sync for FileExtent
impl Unpin for FileExtent
impl UnwindSafe for FileExtent
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