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
Rust Code TestTest Rust Code Img
Code TestTest Rust Code Img

Re-exports§

pub use enum::Format;
pub use error::Error;
pub use traits::PubTrait;
pub use traits::SubOptTrait;
pub use traits::SubTrait;
pub use traits::UnSubTrait;

Modules§

enum
Enumerations shared across the crate. Currently only exposes the Format enum representing supported serialization/deserialization formats.
error
Error definitions shared across the crate. Wraps NATS, JetStream, and serialization errors under a single type.
nats
NATS connector module for pub/sub messaging.
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.