pub struct TimeoutFlags(/* private fields */);Implementations§
Source§impl TimeoutFlags
Options for Timeout.
impl TimeoutFlags
Options for Timeout.
The default behavior is to treat the timespec as a relative time interval. flags may
contain TimeoutFlags::ABS to indicate the timespec represents an absolute
time. When an absolute time is being specified, the kernel will use its monotonic clock
unless one of the following flags is set (they may not both be set):
TimeoutFlags::BOOTTIME or TimeoutFlags::REALTIME.
The default behavior when the timeout expires is to sever dependent links, as a failed
request normally would. To keep the links untouched include TimeoutFlags::ETIME_SUCCESS.
CQE will still contain -libc::ETIME in the res field
Trait Implementations§
Source§impl Clone for TimeoutFlags
impl Clone for TimeoutFlags
Source§fn clone(&self) -> TimeoutFlags
fn clone(&self) -> TimeoutFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimeoutFlags
impl Debug for TimeoutFlags
impl Copy for TimeoutFlags
Auto Trait Implementations§
impl Freeze for TimeoutFlags
impl RefUnwindSafe for TimeoutFlags
impl Send for TimeoutFlags
impl Sync for TimeoutFlags
impl Unpin for TimeoutFlags
impl UnsafeUnpin for TimeoutFlags
impl UnwindSafe for TimeoutFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more