@@ -107,7 +107,7 @@ use crate::{
107107 TransitionFrontierAction ,
108108 } ,
109109 watched_accounts:: WatchedAccountsAction ,
110- Action , ActionKindGet , CheckTimeoutsAction ,
110+ Action , ActionKindGet , CheckTimeoutsAction , ExitAction ,
111111} ;
112112
113113/// Unified kind enum for all action types
@@ -177,6 +177,7 @@ pub enum ActionKind {
177177 EventSourceProcessEvents ,
178178 EventSourceWaitForEvents ,
179179 EventSourceWaitTimeout ,
180+ Exit ,
180181 ExternalSnarkWorkerCancelWork ,
181182 ExternalSnarkWorkerError ,
182183 ExternalSnarkWorkerKill ,
@@ -757,7 +758,7 @@ pub enum ActionKind {
757758}
758759
759760impl ActionKind {
760- pub const COUNT : u16 = 628 ;
761+ pub const COUNT : u16 = 629 ;
761762}
762763
763764impl std:: fmt:: Display for ActionKind {
@@ -789,6 +790,7 @@ impl ActionKindGet for Action {
789790 Self :: Rpc ( a) => a. kind ( ) ,
790791 Self :: RpcEffectful ( a) => a. kind ( ) ,
791792 Self :: WatchedAccounts ( a) => a. kind ( ) ,
793+ Self :: Exit ( a) => a. kind ( ) ,
792794 }
793795 }
794796}
@@ -1260,6 +1262,12 @@ impl ActionKindGet for WatchedAccountsAction {
12601262 }
12611263}
12621264
1265+ impl ActionKindGet for ExitAction {
1266+ fn kind ( & self ) -> ActionKind {
1267+ ActionKind :: Exit
1268+ }
1269+ }
1270+
12631271impl ActionKindGet for P2pInitializeAction {
12641272 fn kind ( & self ) -> ActionKind {
12651273 match self {
0 commit comments