pub enum StartAction {
Attach,
Takeover,
}Expand description
What a launching app should do when it finds the port already held.
Variants§
Attach
A healthy, protocol-compatible engine is running — attach to it.
Takeover
No/failed answer or an incompatible protocol — start your own engine.
Trait Implementations§
Source§impl Clone for StartAction
impl Clone for StartAction
Source§fn clone(&self) -> StartAction
fn clone(&self) -> StartAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StartAction
Source§impl Debug for StartAction
impl Debug for StartAction
impl Eq for StartAction
Source§impl PartialEq for StartAction
impl PartialEq for StartAction
impl StructuralPartialEq for StartAction
Auto Trait Implementations§
impl Freeze for StartAction
impl RefUnwindSafe for StartAction
impl Send for StartAction
impl Sync for StartAction
impl Unpin for StartAction
impl UnsafeUnpin for StartAction
impl UnwindSafe for StartAction
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