pub trait Retries:
MinRetries<Self, Min = Self>
+ MinRetries<ExactlyOnce, Min = Self>
+ MinRetries<AtLeastOnce, Min = AtLeastOnce>
+ Sealed {
const RETRIES_KIND: StreamRetry;
}
Expand description
A trait implemented by valid retries markers (ExactlyOnce
and AtLeastOnce
).
Required Associated Constants§
Sourceconst RETRIES_KIND: StreamRetry
const RETRIES_KIND: StreamRetry
The StreamRetry
corresponding to this type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.