Open minghuaw opened 1 year ago
In the current implementation, DeliveryInfo::from(&delivery) will clone the delivery info carried in the delivery. A Cow could probably be used to avoid this cloning. However, this is potentially a breaking change
DeliveryInfo::from(&delivery)
delivery
Cow
In the current implementation,
DeliveryInfo::from(&delivery)
will clone the delivery info carried in thedelivery
. ACow
could probably be used to avoid this cloning. However, this is potentially a breaking change