tcplane 3.18.1

tcplane is a lightweight and high-performance Rust TCP server library designed to simplify network service development. It supports TCP communication, data stream management, and connection handling, focusing on providing efficient low-level network connections and data transmission capabilities, making it ideal for building modern network services.
Documentation
1
2
3
4
5
6
7
use super::error::Error;

pub type ResponseData = Vec<u8>;
pub type ResponseResult = Result<(), Error>;

#[derive(Clone, Debug)]
pub struct Response(pub(super) ResponseData);