Trait pliantdb_jobs::Keyed[][src]

pub trait Keyed<Key>: Job where
    Key: Clone + Hash + Eq + Send + Sync + Debug + 'static, 
{ fn key(&self) -> Key; }
Expand description

Defines a background job that has a unique key.

Required methods

The unique key for this Job

Implementors