Trait TableManage

Source
pub trait TableManage {
    // Required method
    fn manager() -> Box<dyn Table>;

    // Provided method
    fn get_manager(&self) -> Box<dyn Table> { ... }
}

Required Methods§

Source

fn manager() -> Box<dyn Table>

Provided Methods§

Source

fn get_manager(&self) -> Box<dyn Table>

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§