diff --git a/src/types.rs b/src/types.rs index d28b51f..07ca35b 100644 --- a/src/types.rs +++ b/src/types.rs @@ -85,9 +85,9 @@ bitflags! { /// unless one of the following flags is set (they may not both be set): /// [`types::TimeoutFlags::BOOTTIME`] or [`types::TimeoutFlags::REALTIME`]. /// - /// The default behavior when the timeout expires is to return a CQE with -libc::ETIME in - /// the res field. To change this behavior to have zero returned, include - /// [`types::TimeoutFlags::ETIME_SUCCESS`]. + /// The default behavior when the timeout expires is to sever dependent links, as a failed + /// request normally would. To keep the links untouched include [`types::TimeoutFlags::ETIME_SUCCESS`]. + /// CQE will still contain -libc::ETIME in the res field #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] pub struct TimeoutFlags: u32 { const ABS = sys::IORING_TIMEOUT_ABS;