Struct miri::concurrency::vector_clock::VTimestamp
source · pub struct VTimestamp {
time: u32,
pub span: Span,
}
Expand description
The time-stamps recorded in the data-race detector consist of both
a 32-bit unsigned integer which is the actual timestamp, and a Span
so that diagnostics can report what code was responsible for an operation.
Fields§
§time: u32
§span: Span
Implementations§
source§impl VTimestamp
impl VTimestamp
Trait Implementations§
source§impl Clone for VTimestamp
impl Clone for VTimestamp
source§fn clone(&self) -> VTimestamp
fn clone(&self) -> VTimestamp
Returns a copy 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 Debug for VTimestamp
impl Debug for VTimestamp
source§impl Ord for VTimestamp
impl Ord for VTimestamp
source§impl PartialEq<VTimestamp> for VTimestamp
impl PartialEq<VTimestamp> for VTimestamp
source§impl PartialOrd<VTimestamp> for VTimestamp
impl PartialOrd<VTimestamp> for VTimestamp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for VTimestamp
impl Eq for VTimestamp
Auto Trait Implementations§
impl RefUnwindSafe for VTimestamp
impl !Send for VTimestamp
impl !Sync for VTimestamp
impl Unpin for VTimestamp
impl UnwindSafe for VTimestamp
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes