pub struct OpId(pub u64);Expand description
Names one operation given to a process, so a caller can find in the trace the thing it just asked for.
Minted by the run, like [recon_core::TimerId], and for the same reason: one source per run
means two operations cannot share an identity. Unlike a timer handle it never reaches a
protocol — commands are unchanged, and nothing above the simulator sees one.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for OpId
impl Eq for OpId
Source§impl Ord for OpId
impl Ord for OpId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for OpId
impl PartialOrd for OpId
impl StructuralPartialEq for OpId
Auto Trait Implementations§
impl Freeze for OpId
impl RefUnwindSafe for OpId
impl Send for OpId
impl Sync for OpId
impl Unpin for OpId
impl UnsafeUnpin for OpId
impl UnwindSafe for OpId
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