-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededpackage: bufRelated to compio-bufRelated to compio-buf
Description
It is sometimes useful to define your own buffers as wrappers around Vec<u8>
or other types that have a valid IoBufMut
implementation. In my case, I am getting buffers from a buffer pool (https://docs.rs/lockfree-object-pool/latest/lockfree_object_pool) and therefore I am not holding a Vec<u8>
directly but rather something that DerefMut
s to Vec<u8>
.
It would be nice to have derive macros that allow on to derive IoBufMut
for a custom type that just delegates to the inner one.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededpackage: bufRelated to compio-bufRelated to compio-buf