pub struct RetryPolicy {
pub nodes: Vec<PolicyNode>,
}Expand description
A composable retry policy tree. Root is nodes[0]. Children referenced by policy-node-index.
Fields§
§nodes: Vec<PolicyNode>Trait Implementations§
Source§impl Clone for RetryPolicy
impl Clone for RetryPolicy
Source§impl Debug for RetryPolicy
impl Debug for RetryPolicy
Source§impl TryFrom<&RetryPolicy> for RetrySchedule
impl TryFrom<&RetryPolicy> for RetrySchedule
Source§type Error = RetryPolicyError
type Error = RetryPolicyError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for RetryPolicy
impl RefUnwindSafe for RetryPolicy
impl Send for RetryPolicy
impl Sync for RetryPolicy
impl Unpin for RetryPolicy
impl UnsafeUnpin for RetryPolicy
impl UnwindSafe for RetryPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more