Trait brokkr::Encodable[][src]

pub trait Encodable where
    Self: DeserializeOwned + Serialize + Send + Sync + Sized
{ }

Represent data that is safe to be passed around either through the Redis backend (through Serde serialisation) or across threads for execution.

All tasks and task results structs must implement this trait, however most simple structs should benefit from the provided default implementation.

Implementors