Skip to main content

JobSpec

Trait JobSpec 

Source
pub trait JobSpec {
    type Request: Serialize + DeserializeOwned + Send + 'static;
    type Ok: Serialize + DeserializeOwned + Send + 'static;
    type Err: Serialize + DeserializeOwned + Send + 'static;

    const NAME: &'static str;
}

Required Associated Constants§

Source

const NAME: &'static str

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§