pub enum PutAnswer {
Stored,
GenerationAdvanced,
OverBudget,
Conflict,
}Expand description
How a put ended. Every answer but Stored is an admission not made.
Variants§
Stored
GenerationAdvanced
A generation moved since the work began; nothing was written.
OverBudget
A scope or namespace budget would be exceeded.
Conflict
Another writer stored an entry for the key first; the store kept
the one its contract’s conflict term names.
Implementations§
Trait Implementations§
impl Copy for PutAnswer
impl Eq for PutAnswer
impl StructuralPartialEq for PutAnswer
Auto Trait Implementations§
impl Freeze for PutAnswer
impl RefUnwindSafe for PutAnswer
impl Send for PutAnswer
impl Sync for PutAnswer
impl Unpin for PutAnswer
impl UnsafeUnpin for PutAnswer
impl UnwindSafe for PutAnswer
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