pub trait Watchable: Send + Sync {
// Required method
fn watch_output(
self: Arc<Self>,
pattern: String,
cancel: CancellationToken,
) -> Pin<Box<dyn Future<Output = WatchResult> + Send>>;
}Required Methods§
fn watch_output( self: Arc<Self>, pattern: String, cancel: CancellationToken, ) -> Pin<Box<dyn Future<Output = WatchResult> + Send>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".