pub struct ObservationOp {
pub op: Op,
pub expectation: Expectation,
}Expand description
One observed operation together with its arbitration precondition.
Fields§
§op: OpProposed path mutation.
expectation: ExpectationArbitration precondition for that mutation.
Implementations§
Source§impl ObservationOp
impl ObservationOp
Sourcepub const fn unconditional(op: Op) -> Self
pub const fn unconditional(op: Op) -> Self
An operation whose fresh verification makes arrival order authoritative.
Sourcepub const fn if_state(op: Op, expected: PathExpectation) -> Self
pub const fn if_state(op: Op, expected: PathExpectation) -> Self
An operation valid only while expected still matches the index.
Trait Implementations§
Source§impl Clone for ObservationOp
impl Clone for ObservationOp
Source§impl Debug for ObservationOp
impl Debug for ObservationOp
impl Eq for ObservationOp
Source§impl PartialEq for ObservationOp
impl PartialEq for ObservationOp
impl StructuralPartialEq for ObservationOp
Auto Trait Implementations§
impl Freeze for ObservationOp
impl RefUnwindSafe for ObservationOp
impl Send for ObservationOp
impl Sync for ObservationOp
impl Unpin for ObservationOp
impl UnsafeUnpin for ObservationOp
impl UnwindSafe for ObservationOp
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