pub enum BugPattern {
GenericSharedAccess,
MissingBarrier {
write_loc: SourceLocation,
read_loc: SourceLocation,
},
LoadedValueStore {
load_loc: SourceLocation,
store_loc: SourceLocation,
},
ComputedAddrFromLoaded {
load_loc: SourceLocation,
compute_loc: SourceLocation,
},
Other(String),
}Expand description
Pattern for bug detection
Variants§
Generic shared access pattern
MissingBarrier
Missing barrier pattern
LoadedValueStore
Loaded value in store pattern
ComputedAddrFromLoaded
Computed address from loaded value pattern
Other(String)
Other pattern
Trait Implementations§
Source§impl Clone for BugPattern
impl Clone for BugPattern
Source§fn clone(&self) -> BugPattern
fn clone(&self) -> BugPattern
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for BugPattern
impl RefUnwindSafe for BugPattern
impl Send for BugPattern
impl Sync for BugPattern
impl Unpin for BugPattern
impl UnsafeUnpin for BugPattern
impl UnwindSafe for BugPattern
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