pub trait Handle {
// Required methods
fn id(&self) -> Uuid;
fn cancelled(&self) -> WaitForCancellationFuture<'_> ⓘ;
fn filter_matchable_change(
&self,
candidates: &mut MatchCandidates,
change: MatchableChange<'_>,
) -> bool;
fn changes_tx(&self) -> Sender<MatchCandidates>;
fn cleanup(&self) -> impl Future<Output = ()> + Send;
fn get_counter(&self, table: &str) -> &HandleMetrics;
}Required Methods§
fn id(&self) -> Uuid
fn cancelled(&self) -> WaitForCancellationFuture<'_> ⓘ
fn filter_matchable_change( &self, candidates: &mut MatchCandidates, change: MatchableChange<'_>, ) -> bool
fn changes_tx(&self) -> Sender<MatchCandidates>
fn cleanup(&self) -> impl Future<Output = ()> + Send
fn get_counter(&self, table: &str) -> &HandleMetrics
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".