pub struct JournalOpenOptions { /* private fields */ }Expand description
Options for opening a mapped journal region.
These options must be consistent across all processes that open the same backing file.
Implementations§
Source§impl JournalOpenOptions
impl JournalOpenOptions
Sourcepub fn path(self, path: impl Into<PathBuf>) -> Self
pub fn path(self, path: impl Into<PathBuf>) -> Self
Override the backing file path for the mapping.
Trait Implementations§
Source§impl Clone for JournalOpenOptions
impl Clone for JournalOpenOptions
Source§fn clone(&self) -> JournalOpenOptions
fn clone(&self) -> JournalOpenOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 JournalOpenOptions
impl Debug for JournalOpenOptions
Source§impl Default for JournalOpenOptions
impl Default for JournalOpenOptions
Source§fn default() -> JournalOpenOptions
fn default() -> JournalOpenOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JournalOpenOptions
impl RefUnwindSafe for JournalOpenOptions
impl Send for JournalOpenOptions
impl Sync for JournalOpenOptions
impl Unpin for JournalOpenOptions
impl UnwindSafe for JournalOpenOptions
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