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§
fn refresh_namespace_catalog(&self) -> Result<(), SQLError>
fn schemas(&self) -> SchemaRegistryRead<'_>
fn graphs(&self) -> Box<dyn GraphNamespaceRead + '_>
Sourcefn temporary_namespace_oids(&self) -> Option<TemporaryNamespaceOids>
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.
fn temporary_schema_name(&self) -> String
Provided Methods§
fn temporary_namespace_allocated(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".