pub type DelaySchedule = Arc<dyn Fn(usize) -> Duration + Sync + Send + 'static>;

Aliased Type§

struct DelaySchedule {
    ptr: NonNull<ArcInner<dyn Fn(usize) -> Duration + Sync + Send>>,
    phantom: PhantomData<ArcInner<dyn Fn(usize) -> Duration + Sync + Send>>,
    alloc: Global,
}

Fields§

§ptr: NonNull<ArcInner<dyn Fn(usize) -> Duration + Sync + Send>>§phantom: PhantomData<ArcInner<dyn Fn(usize) -> Duration + Sync + Send>>§alloc: Global