#[non_exhaustive]pub enum Event {
Comfy(ComfyEvent),
Connection(ConnectionEvent),
}Expand description
Represents events emitted by the ComfyUI client during workflow execution.
This structure allows for clear separation between service-level events and client-side connection management events.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Comfy(ComfyEvent)
Comfy events originate from the ComfyUI service itself
Connection(ConnectionEvent)
Connection events relate to WebSocket connection management
Auto Trait Implementations§
impl !Freeze for Event
impl !RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl !UnwindSafe for Event
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