Crate praborrow_logistics

Crate praborrow_logistics 

Source
Expand description

Zero-copy buffer abstraction for raw byte streams.

Provides RawResource for managing raw byte buffers without allocation overhead. Uses ManuallyDrop to take ownership of data while exposing raw pointers.

§Safety

This module uses unsafe code to manage memory manually. The RawResource struct takes ownership of a Vec<u8> via ManuallyDrop, preventing automatic deallocation. The Drop implementation properly reconstructs the Vec to ensure memory is freed.

Caller is responsible for ensuring the buffer outlives all references to it.

Structs§

RawResource
A zero-copy buffer resource representing “Hilirisasi Data” (Downstreaming Data).

Enums§

LogisticsError
Error returned by logistics operations.