pub enum RetrySync {
Stopped,
Started {
cooling_until: Option<SystemTime>,
},
}Expand description
Whether a started connection will plan.
Variants§
Stopped
None will: a retry is answered at once that sync isn’t running.
Started
One will.
Fields
§
cooling_until: Option<SystemTime>A provider cooldown holds every pass until then, by the store’s clock, in whole milliseconds rounded up.
Trait Implementations§
impl Copy for RetrySync
impl Eq for RetrySync
impl StructuralPartialEq for RetrySync
Auto Trait Implementations§
impl Freeze for RetrySync
impl RefUnwindSafe for RetrySync
impl Send for RetrySync
impl Sync for RetrySync
impl Unpin for RetrySync
impl UnsafeUnpin for RetrySync
impl UnwindSafe for RetrySync
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.