Implement Copy
for IoSlice
This commit is contained in:
parent
87b0d83745
commit
79b8ad84c8
10 changed files with 10 additions and 0 deletions
|
@ -1051,6 +1051,7 @@ impl<'a> DerefMut for IoSliceMut<'a> {
|
|||
/// ABI compatible with the `iovec` type on Unix platforms and `WSABUF` on
|
||||
/// Windows.
|
||||
#[stable(feature = "iovec", since = "1.36.0")]
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(transparent)]
|
||||
pub struct IoSlice<'a>(sys::io::IoSlice<'a>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue