[−][src]Enum extremedb::database::CommitPolicy
Transaction commit policy.
The default policy is SyncFlush
.
Variants
Flush the cache and synchronize the filesystem buffers for both database and log files on every commit.
Don't flush the database cache to disk upon transaction commit.
Keep modified pages in the page pool (like Buffered
); commit delayed
transactions to the persistent storage at once when the total size of
all kept pages or the number of delayed commits reach a threshold
value.
Don't synchronize the file system buffers explicitly and let the filesystem determine when the data is actually written to the media.
Auto Trait Implementations
impl RefUnwindSafe for CommitPolicy
impl Send for CommitPolicy
impl Sync for CommitPolicy
impl Unpin for CommitPolicy
impl UnwindSafe for CommitPolicy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,