pub trait HasSamplingConfig { }
Trait to get the sampling from Datagram with SamplingConfig.
Datagram
SamplingConfig