pub trait OutboundMessageHandler {
    type Sender;
    type Destination;
    type Message;

    // Required method
    fn handle(
        sender: Self::Sender,
        destination: Self::Destination,
        msg: Self::Message
    ) -> DispatchResult;
}
Expand description

The trait required for handling outbound LP messages.

Required Associated Types§

source

type Sender

The sender type of the outbound message.

source

type Destination

The destination type of the outbound message.

source

type Message

The message type.

Required Methods§

source

fn handle( sender: Self::Sender, destination: Self::Destination, msg: Self::Message ) -> DispatchResult

Handle an outbound message.

Object Safety§

This trait is not object safe.

Implementors§