set_msg_processor

Function set_msg_processor 

Source
pub fn set_msg_processor(processor: &'static dyn Fn(Vec<u8>))
Expand description

Sets a message processor function/closure that will be called with binary messages from the outside.

Messages are given to processor as Vec<u8> completely separated from workings of message exchange buffer(s).