pub struct MmapCursorConfig {
pub path: PathBuf,
pub create: bool,
}Expand description
Configuration for file-backed mmap cursor segments.
Fields§
§path: PathBufPath to the backing file used for the shared mapping.
create: boolWhether to create the backing file or attach to an existing one.
Trait Implementations§
Source§impl Clone for MmapCursorConfig
impl Clone for MmapCursorConfig
Source§fn clone(&self) -> MmapCursorConfig
fn clone(&self) -> MmapCursorConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MmapCursorConfig
impl Debug for MmapCursorConfig
Auto Trait Implementations§
impl Freeze for MmapCursorConfig
impl RefUnwindSafe for MmapCursorConfig
impl Send for MmapCursorConfig
impl Sync for MmapCursorConfig
impl Unpin for MmapCursorConfig
impl UnsafeUnpin for MmapCursorConfig
impl UnwindSafe for MmapCursorConfig
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