pub enum ActionAnchor {
BeforeSlot {
slots: Vec<u64>,
},
AfterSlot {
slots: Vec<u64>,
},
BeforeMatch {
filter: DiscoveryFilter,
},
AfterMatch {
filter: DiscoveryFilter,
},
}Expand description
Where a ScheduledAction fires.
Variants§
BeforeSlot
At the start of each slot, before its transactions execute and before reroute quoting. Fires the entry for the current slot, if any.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more