pub struct TestOracle {
pub writes: BTreeMap<WriteId, AppliedWrite>,
}Expand description
An oracle of applied metadata that tests may populate from streamed records.
Fields§
§writes: BTreeMap<WriteId, AppliedWrite>Metadata indexed by merge’s write identity; no write bodies are reconstructed.
Trait Implementations§
Source§impl Clone for TestOracle
impl Clone for TestOracle
Source§fn clone(&self) -> TestOracle
fn clone(&self) -> TestOracle
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 WriteOracle for TestOracle
impl WriteOracle for TestOracle
Auto Trait Implementations§
impl Freeze for TestOracle
impl RefUnwindSafe for TestOracle
impl Send for TestOracle
impl Sync for TestOracle
impl Unpin for TestOracle
impl UnsafeUnpin for TestOracle
impl UnwindSafe for TestOracle
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