Trait Table

Source
pub trait Table: Sized {
    type Counts;

    // Required methods
    fn underlying(&self) -> &DB;
    fn get_counts(&self) -> Result<Self::Counts, Error>;

    // Provided method
    fn get_estimated_key_count(&self) -> Result<Option<u64>, Error> { ... }
}

Required Associated Types§

Required Methods§

Source

fn underlying(&self) -> &DB

Source

fn get_counts(&self) -> Result<Self::Counts, Error>

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§