pub struct OpId {
pub instance: InstanceId,
pub seq: u64,
}Expand description
dioring’s identity for one pushed operation. Ordered by push order within an instance;
identities from two instances are incomparable (partial_cmp is None).
Fields§
§instance: InstanceIdThe instance that pushed it.
seq: u64Its place in that instance’s push order.
Trait Implementations§
impl Copy for OpId
impl Eq for OpId
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