pub struct SyncThrottle {
pub delay: Duration,
pub reason: ThrottleReason,
}Expand description
A service-imposed limit on how soon the next run may happen.
The connector reports it; the engine owns scheduling. It arrives in two shapes —
a quota the service reported in the body, and a minimum poll interval — but is
handled identically: the next run may not start before delay has elapsed.
Fields§
§delay: Duration§reason: ThrottleReasonImplementations§
Source§impl SyncThrottle
impl SyncThrottle
Trait Implementations§
Source§impl Clone for SyncThrottle
impl Clone for SyncThrottle
Source§fn clone(&self) -> SyncThrottle
fn clone(&self) -> SyncThrottle
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 SyncThrottle
Source§impl Debug for SyncThrottle
impl Debug for SyncThrottle
impl Eq for SyncThrottle
Source§impl PartialEq for SyncThrottle
impl PartialEq for SyncThrottle
impl StructuralPartialEq for SyncThrottle
Auto Trait Implementations§
impl Freeze for SyncThrottle
impl RefUnwindSafe for SyncThrottle
impl Send for SyncThrottle
impl Sync for SyncThrottle
impl Unpin for SyncThrottle
impl UnsafeUnpin for SyncThrottle
impl UnwindSafe for SyncThrottle
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