pub trait RoutineNameCatalog {
// Required methods
fn schema_security(&self, schema: &str) -> Option<BoundSchemaSecurity>;
fn current_role(&self) -> RoleReference;
fn search_path(&self) -> Vec<String>;
fn require_schema_usage(
&self,
schema: &str,
role: &RoleReference,
) -> Result<(), SQLError>;
fn schema_has_usage(&self, schema: &str, role: &RoleReference) -> bool;
}Required Methods§
fn schema_security(&self, schema: &str) -> Option<BoundSchemaSecurity>
fn current_role(&self) -> RoleReference
fn search_path(&self) -> Vec<String>
fn require_schema_usage( &self, schema: &str, role: &RoleReference, ) -> Result<(), SQLError>
fn schema_has_usage(&self, schema: &str, role: &RoleReference) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".