pub enum ForgetImplication {
Drop,
Unrequest,
Expunge,
NotYetUnrequest {
success_after: Slot,
},
NotYetExpunge {
success_after: Slot,
},
}Expand description
A summary of the implication of calling forget on a preimage request.
Variants§
Drop
The request will be dropped altogether since it was never provided. The deposit criteria will be lifted.
Unrequest
The preimage will be unrequested and unavailable for lookup. No change in the deposit criteria.
Expunge
The preimage remain unavailable and be expunged from the state. The deposit criteria will be lifted.
NotYetUnrequest
The forget call is invalid and no change in state will be made.
If called in future, after success_after, it will be have the effect of Unrequest.
NotYetExpunge
The forget call is invalid and no change in state will be made.
If called in future, after success_after, it will be have the effect of Expunge.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ForgetImplication
impl RefUnwindSafe for ForgetImplication
impl Send for ForgetImplication
impl Sync for ForgetImplication
impl Unpin for ForgetImplication
impl UnwindSafe for ForgetImplication
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