pub trait DatagramS {
type G: OperationGenerator;
// Required methods
fn operation_generator_with_segment(
self,
geometry: &Geometry,
segment: Segment,
transition: bool,
) -> Result<Self::G, AUTDInternalError>;
fn trace(&self, geometry: &Geometry);
// Provided methods
fn timeout(&self) -> Option<Duration> { ... }
fn parallel_threshold(&self) -> Option<usize> { ... }
}