pub trait Watching<Sys>: Call<Sys, Watch, Outcome = WatchRef> + Call<Sys, Unwatch, Outcome = ()>where
Sys: System,{
// Provided methods
fn watch(&mut self, peer: Address) -> impl Future<Output = WatchRef> + Send
where Sys: Default { ... }
fn unwatch(&mut self, wait_ref: WatchRef) -> impl Future<Output = ()> + Send
where Sys: Default { ... }
}Provided Methods§
fn watch(&mut self, peer: Address) -> impl Future<Output = WatchRef> + Sendwhere
Sys: Default,
fn unwatch(&mut self, wait_ref: WatchRef) -> impl Future<Output = ()> + Sendwhere
Sys: Default,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.