pub enum Expectation {
Any,
State(PathExpectation),
}Expand description
The condition under which an observation may be committed.
Variants§
Any
Commit according to arrival order. Used by freshly verified watch observations and cold-scan bootstrap data.
State(PathExpectation)
Commit only if the target state and relevant structural revisions still match the producer baseline.
Trait Implementations§
Source§impl Clone for Expectation
impl Clone for Expectation
impl Copy for Expectation
Source§impl Debug for Expectation
impl Debug for Expectation
impl Eq for Expectation
Source§impl Hash for Expectation
impl Hash for Expectation
Source§impl PartialEq for Expectation
impl PartialEq for Expectation
impl StructuralPartialEq for Expectation
Auto Trait Implementations§
impl Freeze for Expectation
impl RefUnwindSafe for Expectation
impl Send for Expectation
impl Sync for Expectation
impl Unpin for Expectation
impl UnsafeUnpin for Expectation
impl UnwindSafe for Expectation
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