Lines Matching refs:AioCb
48 /// Mode for `AioCb::fsync`. Controls whether only data or both data and
79 /// Return values for [`AioCb::cancel`](struct.AioCb.html#method.cancel) and
87 /// `AioCb::error`
103 // ops, allowing the crate's users to get pinned references to `AioCb`. That
108 struct AioCb {
110 /// Could this `AioCb` potentially have any in-kernel state?
115 // that there's no way to write an AioCb constructor that neither boxes
120 impl AioCb {
154 AioCb {
192 impl Debug for AioCb {
194 fmt.debug_struct("AioCb")
201 impl Drop for AioCb {
202 /// If the `AioCb` has no remaining state in the kernel, just drop it.
207 "Dropped an in-progress AioCb"
343 /// Returns the priority of the `AioCb`
433 aiocb: AioCb,
438 unsafe_pinned!(aiocb: AioCb);
462 let mut aiocb = AioCb::common_init(fd, prio, sigev_notify);
463 // To save some memory, store mode in an unused field of the AioCb.
465 // create an enum containing this and other AioCb variants and pack
546 aiocb: AioCb,
552 unsafe_pinned!(aiocb: AioCb);
582 let mut aiocb = AioCb::common_init(fd, prio, sigev_notify);
667 aiocb: AioCb,
674 unsafe_pinned!(aiocb: AioCb);
701 let mut aiocb = AioCb::common_init(fd, prio, sigev_notify);
778 aiocb: AioCb,
784 unsafe_pinned!(aiocb: AioCb);
814 let mut aiocb = AioCb::common_init(fd, prio, sigev_notify);
896 aiocb: AioCb,
903 unsafe_pinned!(aiocb: AioCb);
930 let mut aiocb = AioCb::common_init(fd, prio, sigev_notify);