pub type SendPacketHandler<'a> = Box<dyn FnMut(&[u8], Message, Direction) + Send + 'a>;Available on crate feature
binary only.Expand description
The same as PacketHandler but also implements Send.
See Port::set_packet_handler for more details.
Aliased Type§
pub struct SendPacketHandler<'a>(/* private fields */);