You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need custom alignment when reading file with O_DIRECT but I didn't see any public api that capable to allocate BytesMut with custom alignment (e.g. 4096).
I did have my api to allocate Vec<u8> with custom alignment but BytesMut::from_vec is private :(
The text was updated successfully, but these errors were encountered:
I need custom alignment when reading file with
O_DIRECT
but I didn't see any public api that capable to allocateBytesMut
with custom alignment (e.g. 4096).I did have my api to allocate
Vec<u8>
with custom alignment butBytesMut::from_vec
is private :(The text was updated successfully, but these errors were encountered: