pub trait IntoDatagramWithSegment<D: DatagramS> {
// Required method
fn with_segment(
self,
segment: Segment,
transition: bool,
) -> DatagramWithSegment<D>;
}pub trait IntoDatagramWithSegment<D: DatagramS> {
// Required method
fn with_segment(
self,
segment: Segment,
transition: bool,
) -> DatagramWithSegment<D>;
}