pub enum ActionAnchor {
AfterSlot {
slots: Vec<u64>,
},
BeforeMatch {
filter: DiscoveryFilter,
},
AfterMatch {
filter: DiscoveryFilter,
},
}Expand description
Where a ScheduledAction fires.
Variants§
AfterSlot
At the end of each slot, after its transactions execute but before it finalizes. Fires the entry for the current slot, if any.
BeforeMatch
Before each batch matching filter executes. The whole sequence fires at
each matching batch.
Fields
§
filter: DiscoveryFilterAfterMatch
After each batch matching filter commits. The whole sequence fires at
each matching batch.
Fields
§
filter: DiscoveryFilterTrait Implementations§
Source§impl Clone for ActionAnchor
impl Clone for ActionAnchor
Source§fn clone(&self) -> ActionAnchor
fn clone(&self) -> ActionAnchor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionAnchor
impl Debug for ActionAnchor
Source§impl<'de> Deserialize<'de> for ActionAnchor
impl<'de> Deserialize<'de> for ActionAnchor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ActionAnchor
Source§impl PartialEq for ActionAnchor
impl PartialEq for ActionAnchor
Source§impl Serialize for ActionAnchor
impl Serialize for ActionAnchor
impl StructuralPartialEq for ActionAnchor
Auto Trait Implementations§
impl Freeze for ActionAnchor
impl RefUnwindSafe for ActionAnchor
impl Send for ActionAnchor
impl Sync for ActionAnchor
impl Unpin for ActionAnchor
impl UnsafeUnpin for ActionAnchor
impl UnwindSafe for ActionAnchor
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