pub trait StateV4ProxyInterface: Send + Sync {
// Required methods
fn get_watcher_v4(
&self,
watcher: ServerEnd<WatcherV4Marker>,
options: &WatcherOptionsV4,
) -> Result<(), Error>;
fn get_rule_watcher_v4(
&self,
watcher: ServerEnd<RuleWatcherV4Marker>,
options: &RuleWatcherOptionsV4,
) -> Result<(), Error>;
}Required Methods§
fn get_watcher_v4( &self, watcher: ServerEnd<WatcherV4Marker>, options: &WatcherOptionsV4, ) -> Result<(), Error>
fn get_rule_watcher_v4( &self, watcher: ServerEnd<RuleWatcherV4Marker>, options: &RuleWatcherOptionsV4, ) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".