[][src]Struct tmux_interface::clients_and_sessions::AttachSession

pub struct AttachSession<'a> {
    pub detach_other: Option<bool>,
    pub not_update_env: Option<bool>,
    pub read_only: Option<bool>,
    pub cwd: Option<&'a str>,
    pub target_session: Option<&'a str>,
}

Session for attaching client to already existing session

Manual

tmux attach-session [-dEr] [-c working-directory] [-t target-session]
(alias: attach)

Fields

detach_other: Option<bool>

any other clients attached to the session are detached

not_update_env: Option<bool>

update-environment option will not be applied

read_only: Option<bool>

signifies the client is read-only

cwd: Option<&'a str>

specify starting directory

target_session: Option<&'a str>

specify target session name

Methods

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

pub fn new() -> Self[src]

Trait Implementations

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

Auto Trait Implementations

impl<'a> Send for AttachSession<'a>

impl<'a> Unpin for AttachSession<'a>

impl<'a> Sync for AttachSession<'a>

impl<'a> UnwindSafe for AttachSession<'a>

impl<'a> RefUnwindSafe for AttachSession<'a>

Blanket Implementations

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

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

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.

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

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

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