pub struct TaskDefinition {
pub name: String,
pub version: u64,
pub initial: Box<dyn Fn(&Value) -> Value + Send + Sync>,
}Expand description
Executable task definition as far as the Session needs it: its registered name, version, and first checkpoint.
Fields§
§name: String§version: u64§initial: Box<dyn Fn(&Value) -> Value + Send + Sync>Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TaskDefinition
impl !UnwindSafe for TaskDefinition
impl Forget for TaskDefinition
impl Freeze for TaskDefinition
impl Move for TaskDefinition
impl Send for TaskDefinition
impl Sync for TaskDefinition
impl Unpin for TaskDefinition
impl UnsafeUnpin for TaskDefinition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more