pub trait Linking<Sys>:
Call<Sys, Link, Outcome = ()>
+ Call<Sys, Unlink, Outcome = ()>
+ Call<Sys, TrapExit, Outcome = ()>where
Sys: System,{
// Provided methods
fn link(&mut self, peer: Address) -> impl Future<Output = ()> + Send
where Sys: Default { ... }
fn unlink(&mut self, peer: Address) -> impl Future<Output = ()> + Send
where Sys: Default { ... }
fn set_trap_exit(&mut self, enable: bool) -> impl Future<Output = ()> + Send
where Sys: Default { ... }
}Provided Methods§
fn link(&mut self, peer: Address) -> impl Future<Output = ()> + Sendwhere
Sys: Default,
fn unlink(&mut self, peer: Address) -> impl Future<Output = ()> + Sendwhere
Sys: Default,
fn set_trap_exit(&mut self, enable: bool) -> 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.