pub enum State {
Running,
Waiting {
until: Instant,
crashes: u32,
},
Disabled {
reason: String,
},
}Expand description
Where a supervised plugin is.
Variants§
Running
Waiting
Crashed; starting again at this time.
Disabled
Gave up after too many crashes (or it was incompatible): stays off until the user restarts it.
Trait Implementations§
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Forget for State
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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