pub enum AppendLogMode {
Append,
Overwrite,
}Expand description
Local mirror of graphrefly_storage::AppendLogMode (next batch
2026-05-21). graphrefly-storage already depends on
graphrefly-structures (for BaseChange<T>), so we can’t forward
the enum the other direction without creating a dep cycle. The two
declarations are intentionally identical and pre-1.0 stable; if a
third mode is ever added, both must move together (Append /
Overwrite are the locked D269 vocabulary).
Variants§
Append
Read existing bucket, merge new entries, write back. M4.B default.
Overwrite
Replace bucket contents with the current batch (no read-merge).
ReactiveLog::attach_storage rejects sinks declaring this mode —
delta-shipping into an overwrite sink silently truncates the log
to the last batch (memo:Re P1 hazard class).
Trait Implementations§
Source§impl Clone for AppendLogMode
impl Clone for AppendLogMode
Source§fn clone(&self) -> AppendLogMode
fn clone(&self) -> AppendLogMode
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 AppendLogMode
impl Debug for AppendLogMode
Source§impl Default for AppendLogMode
impl Default for AppendLogMode
Source§fn default() -> AppendLogMode
fn default() -> AppendLogMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for AppendLogMode
impl PartialEq for AppendLogMode
Source§fn eq(&self, other: &AppendLogMode) -> bool
fn eq(&self, other: &AppendLogMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AppendLogMode
impl Eq for AppendLogMode
impl StructuralPartialEq for AppendLogMode
Auto Trait Implementations§
impl Freeze for AppendLogMode
impl RefUnwindSafe for AppendLogMode
impl Send for AppendLogMode
impl Sync for AppendLogMode
impl Unpin for AppendLogMode
impl UnsafeUnpin for AppendLogMode
impl UnwindSafe for AppendLogMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.