pub trait UdpFailPolicy: Sealed {
// Required method
fn udp_fault() -> UdpFault;
}Expand description
A failure policy for UDP channels, determining how the transport handles
message loss. Because UDP provides no ordering guarantees, all policies
produce NoOrder output streams, and there is no fail_stop option
(UDP is connectionless, so there is no connection to fail).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".