Struct object_lib::files::FileHandle
source · pub struct FileHandle {
pub mapped_file: Arc<RwLock<MmapMut>>,
pub file_size: usize,
pub next_write_offset: usize,
pub allocation_marker: usize,
pub file_path: PathBuf,
}Fields§
§mapped_file: Arc<RwLock<MmapMut>>§file_size: usize§next_write_offset: usize§allocation_marker: usize§file_path: PathBufImplementations§
Auto Trait Implementations§
impl RefUnwindSafe for FileHandle
impl Send for FileHandle
impl Sync for FileHandle
impl Unpin for FileHandle
impl UnwindSafe for FileHandle
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