pub type MessageHandlerFn = Box<dyn Fn(&DistributedMessage) -> Result<MessageResponse, DistributedError> + Send + Sync>;Expand description
Type alias for message handler function
Aliased Typeยง
pub struct MessageHandlerFn(/* private fields */);pub type MessageHandlerFn = Box<dyn Fn(&DistributedMessage) -> Result<MessageResponse, DistributedError> + Send + Sync>;Type alias for message handler function
pub struct MessageHandlerFn(/* private fields */);