Struct tmux_interface::commands::miscellaneous::run_shell::RunShell[][src]

pub struct RunShell<'a>(pub TmuxCommand<'a>);

Manual

tmux ^1.8:

tmux run-shell [-b] [-t target-pane] shell-command
(alias: run)

tmux ^1.2:

tmux run-shell shell-command
(alias: run)

tmux ^1.1:

tmux run-shell command
(alias: run)

Implementations

impl<'a> RunShell<'a>[src]

pub fn new() -> Self[src]

pub fn backgroud(&mut self) -> &mut Self[src]

[-b]

pub fn target_pane<S: Into<Cow<'a, str>>>(
    &mut self,
    target_pane: S
) -> &mut Self
[src]

[-t target-pane]

pub fn shell_command<S: Into<Cow<'a, str>>>(
    &mut self,
    shell_command: S
) -> &mut Self
[src]

shell-command

pub fn output(&self) -> Result<TmuxOutput, Error>[src]

Trait Implementations

impl<'a> Clone for RunShell<'a>[src]

impl<'a> Debug for RunShell<'a>[src]

impl<'a> Default for RunShell<'a>[src]

impl<'a> From<&'_ TmuxCommand<'a>> for RunShell<'a>[src]

impl<'a> From<TmuxCommand<'a>> for RunShell<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for RunShell<'a>

impl<'a> Send for RunShell<'a>

impl<'a> Sync for RunShell<'a>

impl<'a> Unpin for RunShell<'a>

impl<'a> UnwindSafe for RunShell<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.