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