pub mod ack_policy;
mod admin;
mod batch_boundary;
mod buf_ring;
pub mod client_auth;
mod client_frames;
mod connection_limit;
mod durability_gate;
mod early_reply;
mod halt;
pub mod layout;
mod policy_control;
mod process;
mod promotion;
mod raft;
mod raft_promotion;
mod reader;
pub mod replication;
mod response;
mod response_frame;
pub mod server;
mod startup;
#[cfg(test)]
mod test_roles;
#[cfg(test)]
mod tests;
mod uring_teardown;
pub use startup::StartupEvents;
#[cfg(feature = "dpdk")]
mod dpdk_response;
#[cfg(feature = "dpdk")]
mod dpdk_transport;
pub use client_frames::MAX_REQUEST_BODY;
pub use response_frame::MAX_RESPONSE_BODY;
pub(crate) enum ControlEvent {
Connected {
connection_id: u64,
fd: std::os::unix::io::RawFd,
writer: melin_wire_protocol::blocking::BlockingFrameWriter<Box<dyn std::io::Write + Send>>,
},
Disconnected {
connection_id: u64,
},
}