Skip to main content

JobKey

Trait JobKey 

Source
pub trait JobKey:
    Debug
    + Hash
    + Send
    + Sync
    + Clone
    + Eq
    + PartialEq
    + 'static { }
Expand description

Represents a key to a job. Needs to be hashable for routing properties

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> JobKey for T
where T: Debug + Hash + Send + Sync + Clone + Eq + PartialEq + 'static,

Available on non-crate feature cluster only.