pub struct Always { /* private fields */ }Expand description
Always.
Implementations
sourceimpl Always
impl Always
sourcepub fn with_max_duration(dur: Duration) -> Self
pub fn with_max_duration(dur: Duration) -> Self
Create a new always retry policy with max duration to wait.
Trait Implementations
sourceimpl<T, U, E> Policy<T, U, E> for Alwayswhere
T: Clone,
E: Display,
impl<T, U, E> Policy<T, U, E> for Alwayswhere
T: Clone,
E: Display,
Auto Trait Implementations
impl RefUnwindSafe for Always
impl Send for Always
impl Sync for Always
impl Unpin for Always
impl UnwindSafe for Always
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more