Struct tmux_interface::commands::miscellaneous::wait_for::WaitFor[][src]

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

Manual

tmux ^1.9:

tmux wait-for [-L | -S | -U] channel
(alias: wait)

tmux ^1.8:

tmux wait-for -LSU channel
(alias: wait)

Implementations

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

pub fn new() -> Self[src]

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

[-L]

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

[-S]

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

[-U]

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

channel

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

Trait Implementations

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

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for WaitFor<'a>

impl<'a> Send for WaitFor<'a>

impl<'a> Sync for WaitFor<'a>

impl<'a> Unpin for WaitFor<'a>

impl<'a> UnwindSafe for WaitFor<'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.