pub struct MappedFlush(/* private fields */);Expand description
A flush barrier belonging to one PersistentFileMapped.
Clones follow successful remaps. Flushing an invalidated or dropped owner fails without touching its old address. On Windows the view is flushed before its owned file handle; on Unix the shared mapping uses the file’s synchronous writeback. Callers must serialize logical writes themselves.
Implementations§
Trait Implementations§
Source§impl Clone for MappedFlush
impl Clone for MappedFlush
Auto Trait Implementations§
impl Freeze for MappedFlush
impl RefUnwindSafe for MappedFlush
impl Send for MappedFlush
impl Sync for MappedFlush
impl Unpin for MappedFlush
impl UnsafeUnpin for MappedFlush
impl UnwindSafe for MappedFlush
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