Skip to main content

MarkRerun

Trait MarkRerun 

Source
pub trait MarkRerun {
    // Required methods
    fn mark_rerun_by_what(
        mark: i32,
        corpus_id: i32,
        service_id: i32,
        rerun_category: &str,
        rerun_what: &str,
        connection: &mut PgConnection,
    ) -> Result<usize, Error>;
    fn mark_rerun_by_category(
        mark: i32,
        corpus_id: i32,
        service_id: i32,
        rerun_category: &str,
        connection: &mut PgConnection,
    ) -> Result<usize, Error>;
}
Expand description

Task reruns by a variety of selector granularity

Required Methods§

Source

fn mark_rerun_by_what( mark: i32, corpus_id: i32, service_id: i32, rerun_category: &str, rerun_what: &str, connection: &mut PgConnection, ) -> Result<usize, Error>

Most-specific rerun query, via both category and what filter

Source

fn mark_rerun_by_category( mark: i32, corpus_id: i32, service_id: i32, rerun_category: &str, connection: &mut PgConnection, ) -> Result<usize, Error>

Mid-specificity category-filtered reruns

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl MarkRerun for LogError

Error level reruns

Source§

impl MarkRerun for LogFatal

Fatal level reruns

Source§

impl MarkRerun for LogInfo

Info level reruns

Source§

impl MarkRerun for LogInvalid

Invalid level reruns

Source§

impl MarkRerun for LogWarning

Warning level reruns