pub trait Freezable {
// Provided methods
fn freeze<E: Encoder>(&self, encoder: &mut E) -> Result<(), EncodeError> { ... }
fn thaw<D: Decoder>(&mut self, decoder: &mut D) -> Result<(), DecodeError> { ... }
}Expand description
The internal state of a task needs to be serializable so the framework can take a snapshop of the task graph.
Provided Methods§
Object Safety§
This trait is not object safe.