Searched refs:AioRead (Results 1 - 2 of 2) sorted by relevance
/third_party/rust/crates/nix/src/sys/ |
H A D | aio.rs | 5 //! devices. It supports [`read`](struct.AioRead.html#method.new), 527 /// AioRead::new( 545 pub struct AioRead<'a> { structure names 551 impl<'a> AioRead<'a> { impls 563 /// Create a new `AioRead`, placing the data in a mutable slice. 569 /// * `buf`: A memory buffer. It must outlive the `AioRead`. 587 AioRead { in new() 600 impl<'a> Aio for AioRead<'a> { 606 impl<'a> AsMut<libc::aiocb> for AioRead<'a> { 612 impl<'a> AsRef<libc::aiocb> for AioRead<' [all...] |
/third_party/rust/crates/nix/test/sys/ |
H A D | test_aio.rs | 116 let aiocb = AioRead::new( in test_accessors() 147 Box::pin(AioRead::new(fd, 2, &mut rbuf, 0, SigevNotify::SigevNone)); in cancel() 157 /// `AioRead::submit` should not modify the `AioCb` object if 168 let mut aior = Box::pin(AioRead::new( in error() 190 let mut aior = Box::pin(AioRead::new( in ok() 218 AioRead::new(fd, 2, &mut rbuf, 0, SigevNotify::SigevNone); in on_stack() 595 let mut rcb = Box::pin(AioRead::new( in test_aio_suspend()
|
Completed in 2 milliseconds