Struct tower::retry::RetryLayer [−][src]
pub struct RetryLayer<P> { /* fields omitted */ }
This is supported on crate feature
retry
only.Retry requests based on a policy
Implementations
impl<P> RetryLayer<P>
[src]
impl<P> RetryLayer<P>
[src]pub fn new(policy: P) -> Self
[src]
Create a new RetryLayer
from a retry policy
Trait Implementations
Auto Trait Implementations
impl<P> RefUnwindSafe for RetryLayer<P> where
P: RefUnwindSafe,
impl<P> RefUnwindSafe for RetryLayer<P> where
P: RefUnwindSafe,
impl<P> Send for RetryLayer<P> where
P: Send,
impl<P> Send for RetryLayer<P> where
P: Send,
impl<P> Sync for RetryLayer<P> where
P: Sync,
impl<P> Sync for RetryLayer<P> where
P: Sync,
impl<P> Unpin for RetryLayer<P> where
P: Unpin,
impl<P> Unpin for RetryLayer<P> where
P: Unpin,
impl<P> UnwindSafe for RetryLayer<P> where
P: UnwindSafe,
impl<P> UnwindSafe for RetryLayer<P> where
P: UnwindSafe,
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,