pub enum ProcessInterruptStatus {
Idle,
Pending,
Sent,
Failed(String),
Canceled,
}Expand description
Result of the most recent interrupt request for one process run.
Variants§
Idle
No interrupt has been requested.
Pending
One interrupt is waiting for the supervisor.
Sent
The operating system accepted SIGINT; the child may ignore it.
Failed(String)
Signal delivery failed; no successful delivery is claimed.
Canceled
The run closed before the pending request was delivered.
Trait Implementations§
Source§impl Clone for ProcessInterruptStatus
impl Clone for ProcessInterruptStatus
Source§impl Debug for ProcessInterruptStatus
impl Debug for ProcessInterruptStatus
impl Eq for ProcessInterruptStatus
Source§impl PartialEq for ProcessInterruptStatus
impl PartialEq for ProcessInterruptStatus
impl StructuralPartialEq for ProcessInterruptStatus
Auto Trait Implementations§
impl Freeze for ProcessInterruptStatus
impl RefUnwindSafe for ProcessInterruptStatus
impl Send for ProcessInterruptStatus
impl Sync for ProcessInterruptStatus
impl Unpin for ProcessInterruptStatus
impl UnsafeUnpin for ProcessInterruptStatus
impl UnwindSafe for ProcessInterruptStatus
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