pub struct RefreshSchedule { /* private fields */ }Expand description
When each driver-backed binding is next due for a version check.
Implementations§
Source§impl RefreshSchedule
impl RefreshSchedule
Sourcepub fn due<'a>(
&mut self,
stacks: impl IntoIterator<Item = (&'a str, &'a StackDef)>,
now: Instant,
) -> Vec<(String, String)>
pub fn due<'a>( &mut self, stacks: impl IntoIterator<Item = (&'a str, &'a StackDef)>, now: Instant, ) -> Vec<(String, String)>
The (stack, key) pairs due at now, given each stack’s bindings
and declared refresh intervals; each one returned is rescheduled. A
binding seen for the first time is due one interval after now: it
was just read at deploy.
Trait Implementations§
Source§impl Debug for RefreshSchedule
impl Debug for RefreshSchedule
Auto Trait Implementations§
impl Freeze for RefreshSchedule
impl RefUnwindSafe for RefreshSchedule
impl Send for RefreshSchedule
impl Sync for RefreshSchedule
impl Unpin for RefreshSchedule
impl UnsafeUnpin for RefreshSchedule
impl UnwindSafe for RefreshSchedule
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