Enum boxxy::shell::Command [−][src]
pub enum Command { Native(NativeCommand), Foreign(ForeignCommand), }
Variants
Native(NativeCommand)
Foreign(ForeignCommand)
Methods
impl Command
[src]
impl Command
pub fn run(&self, sh: &mut Shell, args: Vec<String>) -> Result<(), Error>
[src]
pub fn run(&self, sh: &mut Shell, args: Vec<String>) -> Result<(), Error>
pub fn daemonized(&self, sh: &Shell, args: Vec<String>) -> Result<(), Error>
[src]
pub fn daemonized(&self, sh: &Shell, args: Vec<String>) -> Result<(), Error>
Trait Implementations
impl Clone for Command
[src]
impl Clone for Command
fn clone(&self) -> Command
[src]
fn clone(&self) -> Command
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl From<NativeCommand> for Command
[src]
impl From<NativeCommand> for Command
fn from(cmd: NativeCommand) -> Command
[src]
fn from(cmd: NativeCommand) -> Command
Performs the conversion.
impl From<ForeignCommand> for Command
[src]
impl From<ForeignCommand> for Command
fn from(cmd: ForeignCommand) -> Command
[src]
fn from(cmd: ForeignCommand) -> Command
Performs the conversion.