pub enum VoidEvent {
Pipeline(PipelineEvent),
Workspace(WorkspaceEvent),
Ops(OpsEvent),
P2P(P2PEvent),
}Expand description
Unified event type wrapping all event categories.
This enum provides a single type for all events emitted by void-core, making it easy to implement observers that handle all event types.
Variants§
Pipeline(PipelineEvent)
Pipeline events (seal/unseal operations).
Workspace(WorkspaceEvent)
Workspace events (stage/checkout operations).
Ops(OpsEvent)
Ops events (fsck/merge operations).
P2P(P2PEvent)
P2P events (networking operations).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VoidEvent
impl RefUnwindSafe for VoidEvent
impl Send for VoidEvent
impl Sync for VoidEvent
impl Unpin for VoidEvent
impl UnsafeUnpin for VoidEvent
impl UnwindSafe for VoidEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more