pub enum Refusal {
NoBranch,
Judged {
branch: String,
outcome: String,
},
NotBuilt {
branch: String,
status: String,
},
WriteSet {
branch: String,
paths: Vec<String>,
},
TraceMoved {
branch: String,
keys: Vec<String>,
},
}Expand description
Why a unit has no adoptable attempt.
Variants§
NoBranch
No attempt branch since the unit was last verified.
Judged
The newest attempt was set aside with a verdict on its work.
NotBuilt
The branch’s tip does not stamp the unit Built with a trace.
WriteSet
The attempt changed paths outside the unit’s write-set, sorted.
TraceMoved
Inputs the attempt was built from have moved since: the trace keys
that no longer match (unit, a contract key, global), sorted.
Implementations§
Trait Implementations§
impl Eq for Refusal
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Forget for Refusal
impl Freeze for Refusal
impl Move for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusal
impl Sync for Refusal
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
impl UnwindSafe for Refusal
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