pub type RemoteSendHook = fn(pid: Pid, data: Vec<u8>) -> Result<(), SendError>;Expand description
Type alias for the remote send hook function.
This function is called when attempting to send to a non-local PID.
Returns Ok(()) if the message was sent, or an error.