pub enum Command {
Nop,
Echo {
error: bool,
message: Vec<String>,
},
Edit {
path: Utf8PathBuf,
},
Write {
path: Option<Utf8PathBuf>,
},
Quit {
exit_code: Option<u8>,
},
QuitForce {
exit_code: Option<u8>,
},
WriteQuit {
exit_code: Option<u8>,
},
Readonly,
Panic,
}Variants§
Trait Implementations§
Source§impl<'a> Arbitrary<'a> for Command
Available on crate feature arbitrary only.
impl<'a> Arbitrary<'a> for Command
Available on crate feature
arbitrary only.Source§fn arbitrary(_u: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(_u: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read more§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreAuto Trait Implementations§
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