pub trait Linking {
// Required methods
fn link(&mut self, peer: Address) -> impl Future<Output = ()> + Send;
fn unlink(&mut self, peer: Address) -> impl Future<Output = ()> + Send;
fn set_trap_exit(&mut self, enable: bool) -> impl Future<Output = ()> + Send;
}Required Methods§
fn link(&mut self, peer: Address) -> impl Future<Output = ()> + Send
fn unlink(&mut self, peer: Address) -> impl Future<Output = ()> + Send
fn set_trap_exit(&mut self, enable: bool) -> impl Future<Output = ()> + Send
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.