pub struct SignedArtifactPoller {
pub interval: Duration,
pub label: &'static str,
}Fields§
§interval: Duration§label: &'static strImplementations§
Source§impl SignedArtifactPoller
impl SignedArtifactPoller
Sourcepub fn spawn<F, Fut>(self, cancel: CancellationToken, tick: F) -> JoinHandle<()>
pub fn spawn<F, Fut>(self, cancel: CancellationToken, tick: F) -> JoinHandle<()>
Closure must not mutate shared state on its error path; poller logs a warn and retries.
Sourcepub fn spawn_with_kick<F, Fut>(
self,
cancel: CancellationToken,
kick: Option<Receiver<()>>,
tick: F,
) -> JoinHandle<()>
pub fn spawn_with_kick<F, Fut>( self, cancel: CancellationToken, kick: Option<Receiver<()>>, tick: F, ) -> JoinHandle<()>
Wakes on cadence OR the external kick (channel-refs uses this for
reconciler-side ConvergeRollout/SoakHost triggers; cadence is the
safety net). watch::Receiver semantics -> kick bursts coalesce to one wake.
Auto Trait Implementations§
impl Freeze for SignedArtifactPoller
impl RefUnwindSafe for SignedArtifactPoller
impl Send for SignedArtifactPoller
impl Sync for SignedArtifactPoller
impl Unpin for SignedArtifactPoller
impl UnwindSafe for SignedArtifactPoller
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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