Trait crusty_core::load_filters::Filter[][src]

pub trait Filter<JS: JobStateValues, TS: TaskStateValues> {
    fn name(&self) -> &'static str;
fn accept(
        &self,
        ctx: &JobCtx<JS, TS>,
        task: &Task,
        status: &HttpStatus
    ) -> Action; }

Required methods

fn name(&self) -> &'static str[src]

fn accept(
    &self,
    ctx: &JobCtx<JS, TS>,
    task: &Task,
    status: &HttpStatus
) -> Action
[src]

Implementors