Trait Linking

Source
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§

Source

fn set_trap_exit(&mut self, enable: bool) -> impl Future<Output = ()> + Send
where 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.

Implementors§

Source§

impl<Sys, T> Linking<Sys> for T
where T: Call<Sys, Link, Outcome = ()> + Call<Sys, Unlink, Outcome = ()> + Call<Sys, TrapExit, Outcome = ()>, Sys: System,