pub trait SubscriptionRefresher:
Send
+ Sync
+ 'static {
// Required method
fn refresh(&self);
}Expand description
Refreshes the integration layer’s live channel subscription set.
vector-core mutates the local “channels I’m in” set when joining, leaving, or being removed. The integration layer (Tauri) keeps a relay subscription whose filter list mirrors that set; this hook tears down subscriptions for channels we no longer belong to.
Implementations typically spawn the async refresh on the host runtime; the trait method is sync so vector-core can call it from anywhere.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".