pub struct RepairPolicy {
pub max_retries: u8,
}Expand description
Bounded ASK repair policy.
Fields§
§max_retries: u8Maximum retry count. Values above 2 are clamped.
Implementations§
Trait Implementations§
Source§impl Clone for RepairPolicy
impl Clone for RepairPolicy
Source§fn clone(&self) -> RepairPolicy
fn clone(&self) -> RepairPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RepairPolicy
Source§impl Debug for RepairPolicy
impl Debug for RepairPolicy
Source§impl Default for RepairPolicy
impl Default for RepairPolicy
impl Eq for RepairPolicy
Source§impl PartialEq for RepairPolicy
impl PartialEq for RepairPolicy
impl StructuralPartialEq for RepairPolicy
Auto Trait Implementations§
impl Freeze for RepairPolicy
impl RefUnwindSafe for RepairPolicy
impl Send for RepairPolicy
impl Sync for RepairPolicy
impl Unpin for RepairPolicy
impl UnsafeUnpin for RepairPolicy
impl UnwindSafe for RepairPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.