Home
last modified time | relevance | path

Searched refs:AsIobuf (Results 1 – 1 of 1) sorted by relevance

/external/crosvm/sys_util/src/
Dsock_ctrl_msg.rs108 fn raw_sendmsg<D: AsIobuf>(fd: RawFd, out_data: &[D], out_fds: &[RawFd]) -> Result<usize> { in raw_sendmsg()
112 let iovec = AsIobuf::as_iobuf_slice(out_data); in raw_sendmsg()
242 fn send_with_fd<D: AsIobuf>(&self, buf: &[D], fd: RawFd) -> Result<usize> { in send_with_fd()
254 fn send_with_fds<D: AsIobuf>(&self, buf: &[D], fd: &[RawFd]) -> Result<usize> { in send_with_fds()
365 pub unsafe trait AsIobuf: Sized { trait
376 unsafe impl<'a> AsIobuf for IoSlice<'a> {
392 unsafe impl<'a> AsIobuf for IoSliceMut<'a> {
408 unsafe impl<'a> AsIobuf for VolatileSlice<'a> {