Trait Lookup

Source
pub trait Lookup {
    type Database: ?Sized;
    type Data;

    // Required method
    fn lookup(&self, db: &Self::Database) -> Self::Data;
}

Required Associated Types§

Required Methods§

Source

fn lookup(&self, db: &Self::Database) -> Self::Data

Implementors§