Enum thingvellir::DefaultCommitPolicy
source · pub enum DefaultCommitPolicy {
Immediate,
Within(Duration),
}
Variants§
Immediate
The data must be persisted successfully before the execution returns.
Within(Duration)
The data should try to be persisted with at most a Duration
delay.
Trait Implementations§
source§impl Clone for DefaultCommitPolicy
impl Clone for DefaultCommitPolicy
source§fn clone(&self) -> DefaultCommitPolicy
fn clone(&self) -> DefaultCommitPolicy
Returns a copy 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 moreimpl Copy for DefaultCommitPolicy
Auto Trait Implementations§
impl Freeze for DefaultCommitPolicy
impl RefUnwindSafe for DefaultCommitPolicy
impl Send for DefaultCommitPolicy
impl Sync for DefaultCommitPolicy
impl Unpin for DefaultCommitPolicy
impl UnwindSafe for DefaultCommitPolicy
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