pub trait ReferentialCatalog {
// Required methods
fn session_replication_role_is_replica(&self) -> bool;
fn hierarchy_ancestor_tables(
&self,
table: &str,
) -> Result<Vec<String>, SQLError>;
fn try_referrers_to(
&self,
table: &str,
) -> Result<Vec<(String, ForeignKey)>, String>;
fn partition_hierarchy_root(
&self,
table: &str,
) -> Result<Option<String>, SQLError>;
}Required Methods§
fn session_replication_role_is_replica(&self) -> bool
fn hierarchy_ancestor_tables( &self, table: &str, ) -> Result<Vec<String>, SQLError>
fn try_referrers_to( &self, table: &str, ) -> Result<Vec<(String, ForeignKey)>, String>
fn partition_hierarchy_root( &self, table: &str, ) -> Result<Option<String>, SQLError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".