pub trait ReferencedPartitionSource {
// Required methods
fn referenced_partitions(
&self,
table: &str,
) -> Result<Vec<ReferencedPartition>, SQLError>;
fn declared_foreign_key_ids(
&self,
table: &str,
) -> Result<BTreeSet<[u8; 16]>, SQLError>;
}Expand description
What derivation reads from the catalog.
Required Methods§
Sourcefn referenced_partitions(
&self,
table: &str,
) -> Result<Vec<ReferencedPartition>, SQLError>
fn referenced_partitions( &self, table: &str, ) -> Result<Vec<ReferencedPartition>, SQLError>
The partitions below table, each before its own partitions, with siblings in partition order; empty when table is not partitioned.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".