Skip to main content

SchemaPrivilegeCatalog

Trait SchemaPrivilegeCatalog 

Source
pub trait SchemaPrivilegeCatalog {
    // Required methods
    fn refresh_namespace_catalog(&self) -> Result<(), SQLError>;
    fn schemas(&self) -> SchemaRegistryRead<'_>;
    fn graphs(&self) -> Box<dyn GraphNamespaceRead + '_>;
    fn temporary_namespace_oids(&self) -> Option<TemporaryNamespaceOids>;
    fn temporary_schema_name(&self) -> String;

    // Provided method
    fn temporary_namespace_allocated(&self) -> bool { ... }
}

Required Methods§

Source

fn refresh_namespace_catalog(&self) -> Result<(), SQLError>

Source

fn schemas(&self) -> SchemaRegistryRead<'_>

Source

fn graphs(&self) -> Box<dyn GraphNamespaceRead + '_>

Source

fn temporary_namespace_oids(&self) -> Option<TemporaryNamespaceOids>

The OIDs of the session’s temporary namespace and its TOAST namespace once the session’s first temporary object created them.

Source

fn temporary_schema_name(&self) -> String

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§