pub enum Calls {
Read,
Write,
WriteIndependent,
Independent,
}Expand description
#[psync::graph(calls = ..)]: a function-wide mark for the calls psync cannot classify, and
whether the function’s statements commute.
Variants§
Read
calls = read: unclassified calls read, even with strict.
Write
calls = write: unclassified calls write (what strict does).
WriteIndependent
calls = write_independent: unclassified calls write, so they never run ahead of an
earlier exit; but every statement’s effects commute with the others’.
Independent
calls = independent: unclassified calls read, and every statement’s effects commute.
Trait Implementations§
impl Copy for Calls
impl Eq for Calls
impl StructuralPartialEq for Calls
Auto Trait Implementations§
impl Freeze for Calls
impl RefUnwindSafe for Calls
impl Send for Calls
impl Sync for Calls
impl Unpin for Calls
impl UnsafeUnpin for Calls
impl UnwindSafe for Calls
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