publish_rawpod

Function publish_rawpod 

Source
pub fn publish_rawpod<const N: usize, M>(
    prod: &TypedFanoutProducer<N, RawTypedCodec>,
    msg: &M,
) -> Result<()>
where M: RawPod + IndexbusMsgSpec,
Expand description

Publish a typed message as a raw POD frame.

This is a convenience wrapper around TypedFanoutProducer::publish_msg that maps errors into the kit’s Result type.