Lines Matching defs:AioRead
5 //! devices. It supports [`read`](struct.AioRead.html#method.new),
527 /// AioRead::new(
545 pub struct AioRead<'a> {
551 impl<'a> AioRead<'a> {
563 /// Create a new `AioRead`, placing the data in a mutable slice.
569 /// * `buf`: A memory buffer. It must outlive the `AioRead`.
587 AioRead {
600 impl<'a> Aio for AioRead<'a> {
606 impl<'a> AsMut<libc::aiocb> for AioRead<'a> {
612 impl<'a> AsRef<libc::aiocb> for AioRead<'a> {
1206 let aior = AioRead::new(666, 0, &mut rbuf, 0, sev);
1209 &aior as *const AioRead as *const libc::aiocb