Skip to main content

TaskResult

Trait TaskResult 

Source
pub trait TaskResult:
    Serialize
    + DeserializeOwned
    + Send
    + 'static { }
Expand description

Type trait bounds helper for task results

This trait bound helps IDEs understand the requirements for task results.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> TaskResult for T
where T: Serialize + DeserializeOwned + Send + 'static,