Skip to main content

Db

Trait Db 

Source
pub trait Db: ModuleResolverDb {
    // Required method
    fn should_check_file(&self, file: File) -> bool;
}
Expand description

Database giving access to semantic information about a Python program.

Required Methods§

Source

fn should_check_file(&self, file: File) -> bool

Returns true if the file should be checked.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§