Skip to main content

VacuumCatalog

Trait VacuumCatalog 

Source
pub trait VacuumCatalog {
    // Required methods
    fn resolve_relation_kind(
        &self,
        name: &str,
    ) -> Result<Option<(String, &'static str)>, SQLError>;
    fn require_table(
        &self,
        name: &str,
    ) -> Result<Box<dyn VacuumRelation + '_>, SQLError>;
}

Required Methods§

Source

fn resolve_relation_kind( &self, name: &str, ) -> Result<Option<(String, &'static str)>, SQLError>

Source

fn require_table( &self, name: &str, ) -> Result<Box<dyn VacuumRelation + '_>, SQLError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§