pub fn receive<E: ErrorType, T: FnOnce(Vec<u8>) -> bool + Send + 'static>( message_matcher: T) -> impl BehaviourFunction<E>