pub enum AllocDataRaceHandler {
None,
Genmc,
Vclocks(VClockAlloc, Option<StoreBufferAlloc>),
}
Variants§
None
Genmc
Vclocks(VClockAlloc, Option<StoreBufferAlloc>)
Data race detection via the use of vector clocks. Weak memory emulation via the use of store buffers (if enabled).
Implementations§
Source§impl AllocDataRaceHandler
impl AllocDataRaceHandler
pub fn as_vclocks_ref(&self) -> Option<&VClockAlloc>
pub fn as_vclocks_mut(&mut self) -> Option<&mut VClockAlloc>
pub fn as_weak_memory_ref(&self) -> Option<&StoreBufferAlloc>
pub fn as_weak_memory_mut(&mut self) -> Option<&mut StoreBufferAlloc>
Trait Implementations§
Source§impl Debug for AllocDataRaceHandler
impl Debug for AllocDataRaceHandler
Source§impl VisitProvenance for AllocDataRaceHandler
impl VisitProvenance for AllocDataRaceHandler
fn visit_provenance(&self, visit: &mut VisitWith<'_>)
Auto Trait Implementations§
impl !Freeze for AllocDataRaceHandler
impl !RefUnwindSafe for AllocDataRaceHandler
impl Send for AllocDataRaceHandler
impl !Sync for AllocDataRaceHandler
impl Unpin for AllocDataRaceHandler
impl UnwindSafe for AllocDataRaceHandler
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: 72 bytes
Size for each variant:
None
: 0 bytesGenmc
: 0 bytesVclocks
: 72 bytes