pub enum GenerationOutcome {
Completed {
images: Vec<ImageRef>,
},
Failed {
error: String,
},
TimedOut,
}Expand description
Outcome of waiting for a generation to finish.
Variants§
Completed
Generation completed successfully with output images.
Failed
ComfyUI reported an execution-level failure.
TimedOut
Timed out before completion.
Trait Implementations§
Source§impl Clone for GenerationOutcome
impl Clone for GenerationOutcome
Source§fn clone(&self) -> GenerationOutcome
fn clone(&self) -> GenerationOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GenerationOutcome
impl RefUnwindSafe for GenerationOutcome
impl Send for GenerationOutcome
impl Sync for GenerationOutcome
impl Unpin for GenerationOutcome
impl UnsafeUnpin for GenerationOutcome
impl UnwindSafe for GenerationOutcome
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