kernel_sidecar/handlers/mod.rs
1use crate::jupyter::response::Response;
2use std::fmt::Debug;
3
4pub mod debug;
5pub mod msg_count;
6pub mod outputs;
7
8// export Handlers
9pub use debug::DebugHandler;
10pub use msg_count::MessageCountHandler;
11pub use outputs::SimpleOutputHandler;
12
13#[async_trait::async_trait]
14pub trait Handler: Debug + Send + Sync {
15 async fn handle(&mut self, msg: &Response);
16}