Skip to main content

Crate object_transfer

Crate object_transfer 

Source
Expand description

This library provides a simple and efficient way to transfer objects between different parts of an application or between different applications through message brokers like NATS. It supports serialization and/or deserialization of various data formats, making it easy to send and/or receive complex data structures.

§CI/CD Status

ServiceStatus
Crates.ioCrates.io Version Img
Code TestTest Rust Code Img

Re-exports§

pub use format::Format;
pub use traits::PubTrait;
pub use traits::SubTrait;
pub use traits::UnSubTrait;

Modules§

errors
Error definitions shared across the crate. Defines high-level error types (AckError, PubError, SubError, UnSubError) that use BrokerError as a common wrapper for NATS, JetStream, and serialization errors.
format
Enumerations shared across the crate. Currently only exposes the Format enum representing supported serialization/deserialization formats.
nats
NATS connector module for pub/sub messaging.
redis
Redis-based implementation for the object-transfer connector.
traits
Core trait abstractions for pub/sub messaging with typed and untyped interfaces.

Structs§

AckNoop
Acknowledgment handler that performs no operation.
Pub
Publisher for serializable messages using a pluggable context.
Sub
Subscriber wrapper that deserializes messages and optionally acknowledges them.
SubOpt
UnSubNoop
A no-operation unsubscribe handler.