pub struct LateTimer<A> {
pub acceptance: A,
pub max_subrequests: u32,
}Expand description
Timer 13 keeps the producer’s exact request until its owner accepts it.
Fields§
§acceptance: ADurable owner; implementations must satisfy LateAcceptance.
max_subrequests: u32Shared allowance for request reads and all acceptance phases.
Trait Implementations§
Source§impl<S: NamespaceStore, A: LateAcceptance> TimerHandler<S> for LateTimer<A>
impl<S: NamespaceStore, A: LateAcceptance> TimerHandler<S> for LateTimer<A>
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<A> Freeze for LateTimer<A>where
A: Freeze,
impl<A> RefUnwindSafe for LateTimer<A>where
A: RefUnwindSafe,
impl<A> Send for LateTimer<A>where
A: Send,
impl<A> Sync for LateTimer<A>where
A: Sync,
impl<A> Unpin for LateTimer<A>where
A: Unpin,
impl<A> UnsafeUnpin for LateTimer<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for LateTimer<A>where
A: UnwindSafe,
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