Skip to main content

StateProxyInterface

Trait StateProxyInterface 

Source
pub trait StateProxyInterface: Send + Sync {
    // Required method
    fn get_watcher(
        &self,
        options: &WatcherOptions,
        request: ServerEnd<WatcherMarker>,
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn get_watcher( &self, options: &WatcherOptions, request: ServerEnd<WatcherMarker>, ) -> Result<(), Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§