Lines Matching refs:OpStatus
71 enum OpStatus { enum
237 ops: Mutex<Slab<OpStatus>>,
265 entry.insert(OpStatus::Pending(OpData { in add_operation()
356 let (file, waker) = match mem::replace(op, OpStatus::Completed) { in run()
357 OpStatus::Pending(OpData { file, waker }) => (file, waker), in run()
358 OpStatus::Completed => panic!("poll operation completed more than once"), in run()
382 OpStatus::Pending(data) => { in is_ready()
386 OpStatus::Completed => { in is_ready()
396 OpStatus::Pending(data) => self in cancel_operation()
400 OpStatus::Completed => Ok(()), in cancel_operation()
424 OpStatus::Pending(mut data) => { in drop()
433 OpStatus::Completed => {} in drop()