Skip to main content

RoutineNameCatalog

Trait RoutineNameCatalog 

Source
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§

Source

fn schema_security(&self, schema: &str) -> Option<SchemaSecurity>

Source

fn current_user_name(&self) -> String

Source

fn search_path(&self) -> Vec<String>

Source

fn require_schema_usage(&self, schema: &str, role: &str) -> Result<(), SQLError>

Source

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".

Implementors§