pub trait RoleDependencyCatalog {
// Required methods
fn database(&self) -> RoleDependencyRead<'_, DatabaseSecurity>;
fn schemas(
&self,
) -> RoleDependencyRead<'_, BTreeMap<String, SchemaSecurity>>;
fn tables(&self) -> Box<dyn RoleTablesRead + '_>;
fn views(
&self,
) -> RoleDependencyRead<'_, BTreeMap<RelationIdentity, StoredView>>;
fn foreign_tables(
&self,
) -> RoleDependencyRead<'_, BTreeMap<RelationIdentity, TableSecurity>>;
fn sequences(
&self,
) -> RoleDependencyRead<'_, BTreeMap<RelationIdentity, SequenceSecurity>>;
fn routines(
&self,
) -> RoleDependencyRead<'_, BTreeMap<String, Vec<Arc<SQLUserFunction>>>>;
}Required Methods§
fn database(&self) -> RoleDependencyRead<'_, DatabaseSecurity>
fn schemas(&self) -> RoleDependencyRead<'_, BTreeMap<String, SchemaSecurity>>
fn tables(&self) -> Box<dyn RoleTablesRead + '_>
fn views( &self, ) -> RoleDependencyRead<'_, BTreeMap<RelationIdentity, StoredView>>
fn foreign_tables( &self, ) -> RoleDependencyRead<'_, BTreeMap<RelationIdentity, TableSecurity>>
fn sequences( &self, ) -> RoleDependencyRead<'_, BTreeMap<RelationIdentity, SequenceSecurity>>
fn routines( &self, ) -> RoleDependencyRead<'_, BTreeMap<String, Vec<Arc<SQLUserFunction>>>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".