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§
sourcetype Destination
type Destination
The destination type of the outbound message.
Required Methods§
sourcefn handle(
sender: Self::Sender,
destination: Self::Destination,
msg: Self::Message
) -> DispatchResult
fn handle( sender: Self::Sender, destination: Self::Destination, msg: Self::Message ) -> DispatchResult
Handle an outbound message.
Object Safety§
This trait is not object safe.