mm1_core/context/
linking.rs

1use mm1_address::address::Address;
2
3pub trait Linking {
4    fn link(&mut self, peer: Address) -> impl Future<Output = ()> + Send;
5    fn unlink(&mut self, peer: Address) -> impl Future<Output = ()> + Send;
6    fn set_trap_exit(&mut self, enable: bool) -> impl Future<Output = ()> + Send;
7}