pub enum HarnessState {
LauncherMissing {
program: String,
},
NotSetUp {
looked: Vec<String>,
},
Ready {
at: String,
},
}Expand description
What a person does next about one harness: install its launcher, install or sign in to the harness, or use it.
Variants§
LauncherMissing
The launcher program (mostly npx) is not on the search path.
NotSetUp
The launcher is there, and none of the harness’s install or
sign-in directories is. looked lists every directory checked,
expanded; empty while the harness has no directories registered.
Ready
The directory found.
Trait Implementations§
Source§impl Clone for HarnessState
impl Clone for HarnessState
Source§impl Debug for HarnessState
impl Debug for HarnessState
Source§impl<'de> Deserialize<'de> for HarnessState
impl<'de> Deserialize<'de> for HarnessState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HarnessState
Source§impl PartialEq for HarnessState
impl PartialEq for HarnessState
Source§impl Serialize for HarnessState
impl Serialize for HarnessState
impl StructuralPartialEq for HarnessState
Auto Trait Implementations§
impl Freeze for HarnessState
impl RefUnwindSafe for HarnessState
impl Send for HarnessState
impl Sync for HarnessState
impl Unpin for HarnessState
impl UnsafeUnpin for HarnessState
impl UnwindSafe for HarnessState
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