Skip to main content

SchemaReferenceCatalog

Trait SchemaReferenceCatalog 

Source
pub trait SchemaReferenceCatalog {
    // Required methods
    fn loaded_relation_name(
        &self,
        reference: &str,
    ) -> Result<Option<String>, String>;
    fn bound_relation_oid(&self, canonical: &str) -> Result<Option<i64>, String>;
    fn visible_relation_oid(
        &self,
        reference: &str,
    ) -> Result<Option<i64>, String>;
    fn sequence_for_binding(&self, reference: &str) -> Result<String, String>;
}

Required Methods§

Source

fn loaded_relation_name( &self, reference: &str, ) -> Result<Option<String>, String>

Source

fn bound_relation_oid(&self, canonical: &str) -> Result<Option<i64>, String>

Source

fn visible_relation_oid(&self, reference: &str) -> Result<Option<i64>, String>

Source

fn sequence_for_binding(&self, reference: &str) -> Result<String, String>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§