Skip to main content

WeakerRetryThan

Trait WeakerRetryThan 

Source
pub trait WeakerRetryThan<Other: ?Sized>: Retries + Sealed<Other> { }
Expand description

Marker trait for a Retries that is available when Self is a weaker guarantee than Other, which means that a stream with Other guarantees can be safely converted to have Self guarantees instead.

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<R, R2: Retries> WeakerRetryThan<R2> for R
where R: MinRetries<R2, Min = R> + Retries,