pub struct TxMatchContext<'a> {
pub invoked_programs: &'a HashSet<Address>,
}Expand description
Per-transaction facts a DiscoveryFilter can inspect when deciding
whether to match. Callers build this once per transaction and feed it to
every registered filter; new variants add fields here rather than growing
the DiscoveryFilter::matches signature.
Fields§
§invoked_programs: &'a HashSet<Address>Programs invoked by the transaction (top-level + CPI observed in logs).
Auto Trait Implementations§
impl<'a> Freeze for TxMatchContext<'a>
impl<'a> RefUnwindSafe for TxMatchContext<'a>
impl<'a> Send for TxMatchContext<'a>
impl<'a> Sync for TxMatchContext<'a>
impl<'a> Unpin for TxMatchContext<'a>
impl<'a> UnsafeUnpin for TxMatchContext<'a>
impl<'a> UnwindSafe for TxMatchContext<'a>
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