Struct tower::retry::RetryLayer [−][src]
pub struct RetryLayer<P> { /* fields omitted */ }
This is supported on crate feature
retry
only.Expand description
Retry requests based on a policy
Implementations
Create a new RetryLayer
from a retry policy
Trait Implementations
Auto Trait Implementations
impl<P> RefUnwindSafe for RetryLayer<P> where
P: RefUnwindSafe,
impl<P> Send for RetryLayer<P> where
P: Send,
impl<P> Sync for RetryLayer<P> where
P: Sync,
impl<P> Unpin for RetryLayer<P> where
P: Unpin,
impl<P> UnwindSafe for RetryLayer<P> where
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more