Retries

Trait Retries 

Source
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§

Source

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.

Implementors§

Source§

impl Retries for AtLeastOnce

Source§

const RETRIES_KIND: StreamRetry = StreamRetry::AtLeastOnce

Source§

impl Retries for ExactlyOnce

Source§

const RETRIES_KIND: StreamRetry = StreamRetry::ExactlyOnce