pub struct PurgeDelivery { /* private fields */ }Expand description
Kind-11 retries immutable work until local and global acknowledgement.
Implementations§
Source§impl PurgeDelivery
impl PurgeDelivery
Sourcepub fn new(
local: Arc<dyn LocalInvalidation>,
sink: Option<Arc<dyn PurgeSink>>,
budget: SliceBudget,
) -> Self
pub fn new( local: Arc<dyn LocalInvalidation>, sink: Option<Arc<dyn PurgeSink>>, budget: SliceBudget, ) -> Self
Use the same shared budget for every purge timer in an alarm.
Source§impl PurgeDelivery
impl PurgeDelivery
Sourcepub fn fire_with_local<'a, S: NamespaceStore>(
&'a self,
local: &'a dyn LocalInvalidation,
ctx: &'a TimerCtx<'a, S>,
timer: &'a DueTimer,
) -> BoxFuture<'a, Result<Fired, StoreError>>
pub fn fire_with_local<'a, S: NamespaceStore>( &'a self, local: &'a dyn LocalInvalidation, ctx: &'a TimerCtx<'a, S>, timer: &'a DueTimer, ) -> BoxFuture<'a, Result<Fired, StoreError>>
Use a context-local catalog reader without issuing a Durable Object self-call.
Trait Implementations§
Source§impl Debug for PurgeDelivery
impl Debug for PurgeDelivery
Source§impl<S: NamespaceStore> TimerHandler<S> for PurgeDelivery
impl<S: NamespaceStore> TimerHandler<S> for PurgeDelivery
Source§fn max_per_tick(&self) -> Option<u32>
fn max_per_tick(&self) -> Option<u32>
Lowers the shared
TickBudget::max_per_kind allowance for this kind.Auto Trait Implementations§
impl !RefUnwindSafe for PurgeDelivery
impl !UnwindSafe for PurgeDelivery
impl Freeze for PurgeDelivery
impl Send for PurgeDelivery
impl Sync for PurgeDelivery
impl Unpin for PurgeDelivery
impl UnsafeUnpin for PurgeDelivery
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