pub enum StartGate {
Proceed,
Wait(Duration),
Stop,
}Expand description
Whether the next launch may happen now.
Variants§
Proceed
Launch now.
Wait(Duration)
Not yet (another supervisor’s child is still finishing a handover): ask again after this long. No restart budget is charged for waiting.
Stop
Never launch: the supervisor ends in SupervisorState::Stopped.
Trait Implementations§
impl Copy for StartGate
impl Eq for StartGate
impl StructuralPartialEq for StartGate
Auto Trait Implementations§
impl Freeze for StartGate
impl RefUnwindSafe for StartGate
impl Send for StartGate
impl Sync for StartGate
impl Unpin for StartGate
impl UnsafeUnpin for StartGate
impl UnwindSafe for StartGate
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