pub trait EventLookupState {
// Required methods
fn query_rules(&self) -> Option<&RuleCatalog>;
fn query_triggers(&self) -> Option<&TriggerCatalog>;
fn session_replication_role_is_replica(&self) -> bool;
}Expand description
Borrow statement-pinned event definitions and read the current replication role on demand.
Required Methods§
fn query_rules(&self) -> Option<&RuleCatalog>
fn query_triggers(&self) -> Option<&TriggerCatalog>
fn session_replication_role_is_replica(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".