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;
fn routine_type_display(&self, type_name: &str) -> String;
fn routine_identity_display(&self, oid: u32) -> Result<String, SQLError>;
}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
Sourcefn routine_type_display(&self, type_name: &str) -> String
fn routine_type_display(&self, type_name: &str) -> String
format_type_be of a routine argument type: a user-defined type, recorded by identity, is spelled by its current name.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".