PluginConditionSetter

Trait PluginConditionSetter 

Source
pub trait PluginConditionSetter {
    // Required methods
    fn add_error(self, report: &mut PluginReport) -> Self;
    fn add_warning(self, report: &mut PluginReport) -> Self;
    fn add_info(self, report: &mut PluginReport) -> Self;
}

Required Methods§

Source

fn add_error(self, report: &mut PluginReport) -> Self

Source

fn add_warning(self, report: &mut PluginReport) -> Self

Source

fn add_info(self, report: &mut PluginReport) -> Self

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.

Implementations on Foreign Types§

Source§

impl<T, E: ToString> PluginConditionSetter for Result<T, E>

Source§

fn add_error(self, report: &mut PluginReport) -> Self

Source§

fn add_warning(self, report: &mut PluginReport) -> Self

Source§

fn add_info(self, report: &mut PluginReport) -> Self

Implementors§