pub trait PhysicalFlushPartitionProvider: Send + Sync {
// Required method
fn find_table_partition_rule<'life0, 'life1, 'async_trait>(
&'life0 self,
table_info: &'life1 TableInfo,
) -> Pin<Box<dyn Future<Output = Result<(PartitionRuleRef, HashMap<u32, Option<u64>>)>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Loads the physical partition rule and its expression versions.
Required Methods§
Sourcefn find_table_partition_rule<'life0, 'life1, 'async_trait>(
&'life0 self,
table_info: &'life1 TableInfo,
) -> Pin<Box<dyn Future<Output = Result<(PartitionRuleRef, HashMap<u32, Option<u64>>)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn find_table_partition_rule<'life0, 'life1, 'async_trait>(
&'life0 self,
table_info: &'life1 TableInfo,
) -> Pin<Box<dyn Future<Output = Result<(PartitionRuleRef, HashMap<u32, Option<u64>>)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Loads a routing snapshot for the physical table.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".