pub trait CountdownTaskExtHandler: Send + Sync {
// Required method
fn reset_deadline<'life0, 'life1, 'async_trait>(
&'life0 self,
region_server: &'life1 RegionServer,
role: RegionRole,
deadline: Instant,
extension_info: HashMap<String, Vec<u8>>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
Extension trait for CountdownTaskHandle to reset deadline method.