pub enum Discharge {
Verus,
Kani,
}Expand description
What discharges an obligation (§17a, R14): a Verus proof fn or a
function verified against its ensures, inside verus!; or a Kani
harness (#[kani::proof]). A name that is only present (a plain
function, a test, a comment) discharges nothing.
Variants§
Trait Implementations§
Source§impl Ord for Discharge
impl Ord for Discharge
Source§impl PartialOrd for Discharge
impl PartialOrd for Discharge
impl Copy for Discharge
impl Eq for Discharge
impl StructuralPartialEq for Discharge
Auto Trait Implementations§
impl Freeze for Discharge
impl RefUnwindSafe for Discharge
impl Send for Discharge
impl Sync for Discharge
impl Unpin for Discharge
impl UnsafeUnpin for Discharge
impl UnwindSafe for Discharge
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