pub enum ExecutionState {
Running,
Exited,
Unknown,
}Expand description
Typed execution state (CodeRight Running | Exited | Unknown).
Variants§
Running
The target is live and accepts input.
Exited
The target ended. Terminal: input is refused for this identity.
Unknown
The host restarted and cannot prove the target survived. Input is
refused until the host resolves it with
crate::lease::InputLease::set_execution_state.
Implementations§
Trait Implementations§
Source§impl Clone for ExecutionState
impl Clone for ExecutionState
impl Copy for ExecutionState
Source§impl Debug for ExecutionState
impl Debug for ExecutionState
impl Eq for ExecutionState
Source§impl Hash for ExecutionState
impl Hash for ExecutionState
Source§impl PartialEq for ExecutionState
impl PartialEq for ExecutionState
impl StructuralPartialEq for ExecutionState
Auto Trait Implementations§
impl Freeze for ExecutionState
impl RefUnwindSafe for ExecutionState
impl Send for ExecutionState
impl Sync for ExecutionState
impl Unpin for ExecutionState
impl UnsafeUnpin for ExecutionState
impl UnwindSafe for ExecutionState
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