Enum signalbool::Flag
source · [−]pub enum Flag {
Interrupt,
Restart,
}
Expand description
flag controlling the restarting behavior.
Note that most functions in std
ignore EINTR
and continue their operations.
See manpage signal(7)
for details.
Variants
Interrupt
Blocking syscalls will be interrupted.
Restart
Use SA_RESTART so that syscalls don’t get interrupted.
Auto Trait Implementations
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more