Crate network_protocol

Source
Expand description

§Network Protocol

This file is part of the Network Protocol project.

It provides the main entry point for the protocol layer, including the core components, transport mechanisms, and utility functions.

The protocol is designed to be modular, high-performance, and suitable for local, remote, and cluster communication.

The main components include:

  • Core: packet handling, codec, error management
  • Transport: network communication, remote operations
  • Protocol: message routing, handshake logic
  • Service: client and daemon abstractions
  • Utils: cryptography, compression, time management

The protocol layer is built with a focus on performance, scalability, and ease of integration with other systems.

Re-exports§

pub use core::packet::Packet;
pub use core::codec::PacketCodec;
pub use config::*;
pub use error::*;

Modules§

config
core
error
Error
protocol
Network Protocol Module
service
transport
Transport Layer
utils

Functions§

init
Initialize the library with default logging configuration. This should be called early in your application setup.
init_with_config
Initialize the library with custom logging configuration.