pub fn receive(&self, mime_type: String, fd: ::std::os::unix::io::RawFd,) {
        let mime_type = CString::new(mime_type).unwrap_or_else(|_| panic!("Got a String with interior null."));
        unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal, self.ptr(), WL_DATA_OFFER_RECEIVE
           , mime_type.as_ptr(), fd) };
    }
/// request that the data is transferred
///
/// To transfer the offered data, the client issues this request
/// and indicates the mime type it wants to receive.  The transfer
/// happens through the passed file descriptor (typically created
/// with the pipe system call).  The source client writes the data
/// in the mime type representation requested and then closes the
/// file descriptor.
///
/// The receiving client reads from the read end of the pipe until
/// EOF and then closes its end, at which point the transfer is
/// complete.
request that the data is transferred
To transfer the offered data, the client issues this request
and indicates the mime type it wants to receive.  The transfer
happens through the passed file descriptor (typically created
with the pipe system call).  The source client writes the data
in the mime type representation requested and then closes the
file descriptor.

The receiving client reads from the read end of the pipe until
EOF and then closes its end, at which point the transfer is
complete.
request that the data is transferred To transfer the offered data the client issues this request and indicates the mime type it wants to receive . The transfer happens through the passed file descriptor ( typically created with the pipe system call ) . The source client writes the data in the mime type representation requested and then closes the file descriptor . The receiving client reads from the read end of the pipe until EOF and then closes its end at which point the transfer is complete .
pub fn receive(&self, mime_type: String, fd: ::std::os::unix::io::RawFd,) {
        let mime_type = CString::new(mime_type).unwrap_or_else(|_| panic!("Got a String with interior null."));
        unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal, self.ptr(), WL_DATA_OFFER_RECEIVE
           , mime_type.as_ptr(), fd) };
    }
pub fn receive ( & self , mime_type : String , fd : :: std :: os :: unix :: io :: RawFd , ) { let mime_type = CString :: new ( mime_type ) . unwrap_or_else ( | _ | panic ! ( " " ) ) ; unsafe { ffi_dispatch ! ( WAYLAND_CLIENT_HANDLE wl_proxy_marshal self ptr ( ) WL_DATA_OFFER_RECEIVE mime_type as_ptr ( ) fd ) } ; }
request that the data is transferred
To transfer the offered data, the client issues this request
and indicates the mime type it wants to receive.
request that the data is transferred To transfer the offered data the client issues this request and indicates the mime type it wants to receive .
&self
mime_type
String
fd
::std::os::unix::io::RawFd
&self
mime_type
String
fd
::std::os::unix::io::RawFd