Lines Matching defs:AioFsync
7 //! [`fsync`](struct.AioFsync.html#method.new),
330 /// let mut aiof = Box::pin(AioFsync::new(f.as_raw_fd(), AioFsyncMode::O_SYNC,
422 /// let mut aiof = Box::pin(AioFsync::new(f.as_raw_fd(), AioFsyncMode::O_SYNC,
432 pub struct AioFsync {
437 impl AioFsync {
445 /// Create a new `AioFsync`.
468 AioFsync {
475 impl Aio for AioFsync {
494 // AioFsync does not need AsMut, since it can't be used with lio_listio
496 impl AsRef<libc::aiocb> for AioFsync {
1199 let aiof = AioFsync::new(666, AioFsyncMode::O_SYNC, 0, sev);
1202 &aiof as *const AioFsync as *const libc::aiocb