summaryrefslogtreecommitdiff
path: root/src/sys/uio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/uio.rs')
-rw-r--r--src/sys/uio.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/uio.rs b/src/sys/uio.rs
index 00ba1050..5713f63c 100644
--- a/src/sys/uio.rs
+++ b/src/sys/uio.rs
@@ -68,6 +68,7 @@ pub fn pread(fd: RawFd, buf: &mut [u8], offset: off_t) -> Result<usize>{
#[cfg(target_os = "linux")]
#[repr(C)]
#[derive(Clone, Copy)]
+#[allow(missing_debug_implementations)]
pub struct RemoteIoVec {
/// The starting address of this slice (`iov_base`).
pub base: usize,
@@ -138,6 +139,7 @@ pub fn process_vm_readv(pid: ::unistd::Pid, local_iov: &[IoVec<&mut [u8]>], remo
}
#[repr(C)]
+#[allow(missing_debug_implementations)]
pub struct IoVec<T>(libc::iovec, PhantomData<T>);
impl<T> IoVec<T> {