Skip to main content

Crate memlink_protocol

Crate memlink_protocol 

Source
Expand description

MemLink Protocol - Binary protocol definitions for high-performance IPC.

Re-exports§

pub use error::ProtocolError;
pub use error::Result;
pub use header::MessageHeader;
pub use emsg::ErrorMessage;
pub use request::Request;
pub use response::Response;
pub use msgpack::default_serializer;
pub use msgpack::MessagePackSerializer;
pub use msgpack::MSGPACK;
pub use serializer::Serializer;
pub use config::SerializerConfig;
pub use shm::ShmView;
pub use zero::ZeroCopyRequest;
pub use zero::ZeroCopyResponse;
pub use arena::ArenaSlice;
pub use shandle::StreamHandle;
pub use shandle::StreamError;
pub use version::ProtocolVersion;
pub use version::CURRENT_VERSION;
pub use version::MAX_VERSION;
pub use version::MIN_VERSION;
pub use version::SUPPORTED_VERSIONS;
pub use version::V1_0;
pub use version::V1_1;
pub use version::V1_2;
pub use features::has_feature;
pub use features::FEATURE_NONE;
pub use negotiation::negotiate_version;
pub use negotiation::validate_version;
pub use magic::*;
pub use types::*;
pub use sproto::*;

Modules§

arena
Arena-backed slice for zero-copy memory access.
chunk
Chunked transfer for large streams (Phase 2).
config
Serialization configuration.
emsg
Error message structure.
error
Error types for protocol operations.
features
Feature flags for protocol capabilities.
header
Fixed 32-byte message header.
magic
Magic numbers and protocol constants.
msgpack
MessagePack serializer implementation.
negotiation
Version negotiation logic.
prelude
request
Request message structure.
response
Response message structure.
serializer
Serializer trait for pluggable encoding.
shandle
Stream handle for large payload transfers.
shm
Shared memory view for zero-copy access.
sproto
Stream protocol constants.
types
Type aliases and enumerations.
version
Protocol versioning and compatibility.
zero
Zero-copy message parsing.