pub enum Command {
Show 33 variants
InheritEnv,
Workdir,
Workspace,
Env,
Echo,
Run,
Copy,
WithIo,
CopyGit,
Symlink,
Mkdir,
Install,
SetExecutable,
Archive,
Unarchive,
Ls,
Read,
ReadLine,
Prompt,
Write,
Append,
AppendLine,
Remove,
Expand,
AssertEq,
AssertNe,
AssertContains,
Exit,
Async,
Timeout,
Isolated,
Sleep,
ListAppend,
}Expand description
Core command vocabulary: every statement keyword the grammar accepts.
Multi-word commands group by domain prefix (CATEGORY_ACTION):
LIST_APPEND, READ_LINE, ASSERT_EQ, COPY_GIT. The first
underscore-separated segment is the category; introducing a command
under a new category means adding its prefix to
COMMAND_CATEGORIES below, so new groupings stay deliberate.
Single-word commands carry no category. Frozen names never change.
Variants§
InheritEnv
Workdir
Workspace
Env
Echo
Run
Copy
WithIo
CopyGit
Symlink
Mkdir
Install
SetExecutable
Archive
Unarchive
Ls
Read
ReadLine
Prompt
Write
Append
AppendLine
Remove
Expand
AssertEq
AssertNe
AssertContains
Exit
Async
Timeout
Isolated
Sleep
ListAppend
Implementations§
Trait Implementations§
impl Copy for Command
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Forget for Command
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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