We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since closing #263 on using &[u8] and &mut [u8] directly in readv(2) et al, I've been thinking of alternatives.
&[u8]
&mut [u8]
readv(2)
My current thinking:
IoVec<T>
IoVec<'a>
&'a [u8]
IoVecMut<'a>
Deref<Target=IoVec<'a>>
I've got a partial implementation that I started on after #304. I think some tidying up in the socket modules might need to happen first though.
socket
The text was updated successfully, but these errors were encountered:
691ab13
Successfully merging a pull request may close this issue.
Since closing #263 on using
&[u8]
and&mut [u8]
directly inreadv(2)
et al, I've been thinking of alternatives.My current thinking:
IoVec<T>
to a lifetime parameterIoVec<'a>
, effectively restricting the type to&'a [u8]
IoVecMut<'a>
for the writeable case, which implementsDeref<Target=IoVec<'a>>
I've got a partial implementation that I started on after #304. I think some tidying up in the
socket
modules might need to happen first though.The text was updated successfully, but these errors were encountered: