pub trait CustomizedRegionLeaseRenewer: Send + Sync {
// Required method
fn renew(
&self,
ctx: &mut Context,
regions: HashMap<RegionId, RegionLeaseInfo>,
) -> Vec<GrantedRegion>;
}Required Methods§
fn renew( &self, ctx: &mut Context, regions: HashMap<RegionId, RegionLeaseInfo>, ) -> Vec<GrantedRegion>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".