pub trait TcpFailPolicy: Sealed {
type OrderingGuarantee: Ordering;
type ConsistencyGuarantee: Consistency;
// Required method
fn tcp_fault() -> TcpFault;
}Expand description
A failure policy for TCP connections, determining how the transport handles connection failures and what ordering guarantees the output stream provides.
Required Associated Types§
Sourcetype OrderingGuarantee: Ordering
type OrderingGuarantee: Ordering
The ordering guarantee provided by this failure policy.
Sourcetype ConsistencyGuarantee: Consistency
type ConsistencyGuarantee: Consistency
The consistency guarantee this failure policy can preserve for replicated outputs
(see NetworkFor::ConsistencyGuarantee).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".