pub enum Fact {
Alloc {
var: String,
location: usize,
},
Free {
var: String,
location: usize,
},
Use {
var: String,
location: usize,
},
Lock {
mutex: String,
location: usize,
},
Unlock {
mutex: String,
location: usize,
},
ThreadSpawn {
id: String,
location: usize,
},
ThreadJoin {
id: String,
location: usize,
},
Write {
var: String,
location: usize,
},
Read {
var: String,
location: usize,
},
Ordering {
before: usize,
after: usize,
},
}Expand description
Datalog fact for signature detection
Variants§
Trait Implementations§
impl Eq for Fact
impl StructuralPartialEq for Fact
Auto Trait Implementations§
impl Freeze for Fact
impl RefUnwindSafe for Fact
impl Send for Fact
impl Sync for Fact
impl Unpin for Fact
impl UnsafeUnpin for Fact
impl UnwindSafe for Fact
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