Trait typos_cli::file::FileChecker[][src]

pub trait FileChecker: Send + Sync {
    fn check_file(
        &self,
        path: &Path,
        explicit: bool,
        policy: &Policy<'_, '_>,
        reporter: &dyn Report
    ) -> Result<(), Error>; }

Required methods

fn check_file(
    &self,
    path: &Path,
    explicit: bool,
    policy: &Policy<'_, '_>,
    reporter: &dyn Report
) -> Result<(), Error>
[src]

Loading content...

Implementors

impl FileChecker for DiffTypos[src]

fn check_file(
    &self,
    path: &Path,
    explicit: bool,
    policy: &Policy<'_, '_>,
    reporter: &dyn Report
) -> Result<(), Error>
[src]

impl FileChecker for FixTypos[src]

fn check_file(
    &self,
    path: &Path,
    explicit: bool,
    policy: &Policy<'_, '_>,
    reporter: &dyn Report
) -> Result<(), Error>
[src]

impl FileChecker for FoundFiles[src]

fn check_file(
    &self,
    path: &Path,
    explicit: bool,
    policy: &Policy<'_, '_>,
    reporter: &dyn Report
) -> Result<(), Error>
[src]

impl FileChecker for Identifiers[src]

fn check_file(
    &self,
    path: &Path,
    explicit: bool,
    policy: &Policy<'_, '_>,
    reporter: &dyn Report
) -> Result<(), Error>
[src]

impl FileChecker for Typos[src]

fn check_file(
    &self,
    path: &Path,
    explicit: bool,
    policy: &Policy<'_, '_>,
    reporter: &dyn Report
) -> Result<(), Error>
[src]

impl FileChecker for Words[src]

fn check_file(
    &self,
    path: &Path,
    explicit: bool,
    policy: &Policy<'_, '_>,
    reporter: &dyn Report
) -> Result<(), Error>
[src]

Loading content...