pub enum HostPlan {
UseRunning,
TakeOver {
from_role: String,
},
HostMyself,
StartInstalled(PathBuf),
}Expand description
Outcome of plan_host for a process of a given rank.
Variants§
UseRunning
A live host of equal or better rank serves the service.
TakeOver
A live host of lower rank serves it and this process outranks it: request takeover.
HostMyself
Nothing live and nothing to start: host in this process.
StartInstalled(PathBuf)
Nothing live: start this installed engine, then re-discover.
Trait Implementations§
impl Eq for HostPlan
impl StructuralPartialEq for HostPlan
Auto Trait Implementations§
impl Freeze for HostPlan
impl RefUnwindSafe for HostPlan
impl Send for HostPlan
impl Sync for HostPlan
impl Unpin for HostPlan
impl UnsafeUnpin for HostPlan
impl UnwindSafe for HostPlan
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