pub trait IntoDatagramWithParallelThreshold<D: Datagram> {
// Required method
fn with_parallel_threshold(
self,
threshold: Option<usize>,
) -> DatagramWithParallelThreshold<D>;
}Expand description
A trait to convert Datagram to DatagramWithParallelThreshold.
Required Methods§
Sourcefn with_parallel_threshold(
self,
threshold: Option<usize>,
) -> DatagramWithParallelThreshold<D>
fn with_parallel_threshold( self, threshold: Option<usize>, ) -> DatagramWithParallelThreshold<D>
Convert Datagram to DatagramWithParallelThreshold.