Function dipstick::sample [] [src]

pub fn sample<M, IC>(sampling_rate: Rate, chain: IC) -> Chain<Sample<M>> where
    M: Clone + Send + Sync + 'static,
    IC: Into<Chain<M>>, 

Perform random sampling of values according to the specified rate.