pub enum MemPushOpt {
RetainAndWrite,
MemoryOnly,
PassthroughWrite,
}Expand description
Memory push option, determines whether the data should be retained in memory when written to disk
Variants§
RetainAndWrite
Keep the data in memory after writing
MemoryOnly
Write the data into memory, don’t automatically sync to disk
PassthroughWrite
Remove the data from memory after writing
Trait Implementations§
Source§impl Clone for MemPushOpt
impl Clone for MemPushOpt
Source§fn clone(&self) -> MemPushOpt
fn clone(&self) -> MemPushOpt
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 MemPushOpt
impl Debug for MemPushOpt
Source§impl Default for MemPushOpt
impl Default for MemPushOpt
Source§fn default() -> MemPushOpt
fn default() -> MemPushOpt
Returns the “default value” for a type. Read more
impl Copy for MemPushOpt
Auto Trait Implementations§
impl Freeze for MemPushOpt
impl RefUnwindSafe for MemPushOpt
impl Send for MemPushOpt
impl Sync for MemPushOpt
impl Unpin for MemPushOpt
impl UnwindSafe for MemPushOpt
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