pub enum Job {
Order {
n: u64,
},
Fanout {
n: u32,
},
Pinger {
target: String,
},
Counter,
Looper {
left: u32,
acc: u64,
},
Patchy {
n: u64,
},
Export,
Approval,
Parent {
kids: u32,
},
Resettable {
n: u64,
},
Reader {
n: u64,
},
Talker {
n: u32,
},
}Variants§
Order
Fanout
Pinger
Counter
Updates and queries.
Looper
Continue-as-new.
Patchy
Patching: new code is deployed at the first crash.
Export
Heartbeats and heartbeat timeouts.
Approval
Async completion.
Parent
Parent close policy.
Resettable
Reset.
Reader
Read-only steps feeding a step with effects.
Talker
Streams: a model call as a step streams its tokens (continuing after the recorded prefix when it runs again), and the workflow streams its progress.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Job
impl<'de> Deserialize<'de> for Job
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Job
Auto Trait Implementations§
impl Forget for Job
impl Freeze for Job
impl Move for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnsafeUnpin for Job
impl UnwindSafe for Job
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