pub enum ImportResult {
Applied {
keys_written: u64,
keys_skipped: u64,
},
Skipped,
HashMismatch,
}Expand description
Result of importing a remote segment via Engine::import_segment.
Variants§
Applied
Segment applied. Record-level counts reflect LWW decisions.
Fields
Skipped
Segment already present in local manifest — no-op.
HashMismatch
BLAKE3 of provided data does not match claimed hash — segment rejected.
Auto Trait Implementations§
impl Freeze for ImportResult
impl RefUnwindSafe for ImportResult
impl Send for ImportResult
impl Sync for ImportResult
impl Unpin for ImportResult
impl UnsafeUnpin for ImportResult
impl UnwindSafe for ImportResult
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